Chromium Code Reviews| Index: chrome/browser/google/google_util_chromeos.h |
| diff --git a/chrome/browser/google/google_util_chromeos.h b/chrome/browser/google/google_util_chromeos.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..94443ee30dfc8633707f60a8762a93fdaac6ed91 |
| --- /dev/null |
| +++ b/chrome/browser/google/google_util_chromeos.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 2012 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. |
| + |
| +#ifndef CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_CHROMEOS_H_ |
| +#define CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_CHROMEOS_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/callback_forward.h" |
| + |
| +namespace google_util { |
| +namespace chromeos { |
| + |
| +// Returns the brand code stored in Local State that has been assigned to a |
| +// partner. Returns empty string if the information is not available. |
| +std::string GetBrand(); |
| + |
| +// Reads the brand code from a board-specific file and stores it to Local State. |
|
Peter Kasting
2012/12/01 03:06:22
"board" is slightly unclear here... does the brand
Ivan Korotkov
2012/12/02 12:01:15
Yes, right now the brand code depends on the mainb
|
| +// |callback| is invoked on the calling thread after that. |
| +void SetBrandFromFile(const base::Closure& callback); |
| + |
| +} // namespace chromeos |
| +} // namespace google_util |
| + |
| +#endif // CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_CHROMEOS_H_ |