blob: b38b7835a91fbf7d79737252ef6bb7d932c5bc3b [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module chrome.mojom;
interface NetworkEasterEgg {
// Retrieve current high score as stored in user's profile.
GetHighScore() => (uint32 high_score);
// Update the high score stored in the user's profile. Only has an effect if
// |high_score| is higher than the old score in the profile.
UpdateHighScore(uint32 high_score);
// Clear any high score stored in the user's profile.
ResetHighScore();
};