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

Unified Diff: chrome/browser/mac/keystone_glue.h

Issue 7655056: Enable brand codes and master preferences on the Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweaky Created 9 years, 4 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
Index: chrome/browser/mac/keystone_glue.h
diff --git a/chrome/browser/mac/keystone_glue.h b/chrome/browser/mac/keystone_glue.h
index 615b5e997c86586634c0d7dae73ecef22922ab86..8c6e23fa76ccb345c5e5d895e01e2e43488c3302 100644
--- a/chrome/browser/mac/keystone_glue.h
+++ b/chrome/browser/mac/keystone_glue.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_
#pragma once
+#include "base/file_path.h"
#include "base/string16.h"
#if defined(__OBJC__)
@@ -198,6 +199,12 @@ enum BrandFileType {
// Functions that may be accessed from non-Objective-C C/C++ code.
namespace keystone_glue {
+// Returns the path to the master preferences file.
+FilePath MasterPrefsPath();
Mark Mentovai 2011/08/23 16:25:12 I’m unconvinced that this belongs as part of the k
TVL 2011/08/23 16:51:31 Second, this really doesn't seem like it should go
+
+// Returns the brand code of the installation.
+std::string BrandCode();
Mark Mentovai 2011/08/23 16:25:12 As opposed to this, which does.
+
// True if Keystone is enabled.
bool KeystoneEnabled();

Powered by Google App Engine
This is Rietveld 408576698