blob: 180cb7763aad64342a2371ac2e3c54f7ef36e34f [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// 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();
};