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

Unified Diff: chrome/browser/chromeos/chromeos_utils.h

Issue 957673003: Chrome OS Gaia: Set param 'chrometype' for MinuteMaid (chromebox, chromebase or chromebook) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review Created 5 years, 10 months 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 | « no previous file | chrome/browser/chromeos/chromeos_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/chromeos_utils.h
diff --git a/chrome/browser/chromeos/chromeos_utils.h b/chrome/browser/chromeos/chromeos_utils.h
index d8d3a87143557867e267e945dcd0f2fa919188da..c09b98f110595ed2c039f1f7d6a04a5187aad003 100644
--- a/chrome/browser/chromeos/chromeos_utils.h
+++ b/chrome/browser/chromeos/chromeos_utils.h
@@ -9,6 +9,14 @@
namespace chromeos {
+namespace chrome_device_types {
+
+extern const char kChromebox[];
+extern const char kChromebase[];
+extern const char kChromebook[];
+
+} // namespace chrome_device_types
+
// Returns the name of the Chrome device type (e.g. Chromebook, Chromebox).
base::string16 GetChromeDeviceType();
@@ -16,6 +24,10 @@ base::string16 GetChromeDeviceType();
// (e.g. IDS_CHROMEBOOK, IDS_CHROMEBOX).
int GetChromeDeviceTypeResourceId();
+// Returns the name of the Chrome device type to pass to the MinuteMaid param
+// 'chrometype' (returns chromebox, chromebase or chromebook).
+std::string GetChromeDeviceTypeString();
+
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_CHROMEOS_UTILS_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/chromeos_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698