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 |
index 94443ee30dfc8633707f60a8762a93fdaac6ed91..734eb5ba88f68605da88f64b4bba1aa851783b5f 100644 |
--- a/chrome/browser/google/google_util_chromeos.h |
+++ b/chrome/browser/google/google_util_chromeos.h |
@@ -16,6 +16,10 @@ namespace chromeos { |
// partner. Returns empty string if the information is not available. |
std::string GetBrand(); |
+// Sets brand for current session only, i.e. not persisted through browser |
+// restart. Future calls to GetBrand() will return |brand|. |
+void SetBrandForCurrentSession(const std::string& brand); |
Ilya Sherman
2012/12/15 00:57:16
It looks like you only ever use this method to set
Ivan Korotkov
2012/12/17 09:05:01
Makes sense. I wanted to be as generic as possible
|
+ |
// 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); |