Override server-side simple-cache trial with commandline switches.
[chromium-blink-merge.git] / chrome / browser / google / google_util_chromeos.h
blob5a90eab5cf3882dc2ef300da347f93197db7f4c6
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_CHROMEOS_H_
6 #define CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_CHROMEOS_H_
8 #include <string>
10 #include "base/callback_forward.h"
12 namespace google_util {
13 namespace chromeos {
15 // Returns the brand code stored in Local State that has been assigned to a
16 // partner. Returns empty string if the information is not available.
17 std::string GetBrand();
19 // Clears brand code for the current session (not persisted through browser
20 // restart). Future calls to GetBrand() will return an empty string.
21 void ClearBrandForCurrentSession();
23 // Reads the brand code from a board-specific file and stores it to Local State.
24 // |callback| is invoked on the calling thread after that.
25 void SetBrandFromFile(const base::Closure& callback);
27 } // namespace chromeos
28 } // namespace google_util
30 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_CHROMEOS_H_