Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3960)

Unified Diff: chrome/browser/google/google_util_chromeos.h

Issue 11412067: [rlz,cros] RLZ glue for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google/google_util.cc ('k') | chrome/browser/google/google_util_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
+// |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_
« no previous file with comments | « chrome/browser/google/google_util.cc ('k') | chrome/browser/google/google_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698