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

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

Issue 11506006: [cros] RLZ tracking can be turned off via a flag file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-apply ps#16, it got lost 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
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..5a90eab5cf3882dc2ef300da347f93197db7f4c6 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();
+// Clears brand code for the current session (not persisted through browser
+// restart). Future calls to GetBrand() will return an empty string.
+void ClearBrandForCurrentSession();
+
// 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);

Powered by Google App Engine
This is Rietveld 408576698