summaryrefslogtreecommitdiffstats
path: root/chrome/common/app_mode_common_mac.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 21:51:58 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 21:51:58 +0000
commit646b9b9f25a3146ef7fc65420864b364f45f067e (patch)
tree3d4e706169be920a064290ab4fb91dfbe4d5bf4b /chrome/common/app_mode_common_mac.h
parent6b213e6150c41a5ad958226dad42259fc4097b35 (diff)
downloadchromium_src-646b9b9f25a3146ef7fc65420864b364f45f067e.zip
chromium_src-646b9b9f25a3146ef7fc65420864b364f45f067e.tar.gz
chromium_src-646b9b9f25a3146ef7fc65420864b364f45f067e.tar.bz2
Mac: rename app_mode_constants_mac.*.
I foolishly gave these files a too-specialized name. BUG=none TEST=none Review URL: http://codereview.chromium.org/1727019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/app_mode_common_mac.h')
-rw-r--r--chrome/common/app_mode_common_mac.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/common/app_mode_common_mac.h b/chrome/common/app_mode_common_mac.h
new file mode 100644
index 0000000..0929be5
--- /dev/null
+++ b/chrome/common/app_mode_common_mac.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2010 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_COMMON_APP_MODE_COMMON_MAC_H_
+#define CHROME_COMMON_APP_MODE_COMMON_MAC_H_
+
+#include <CoreFoundation/CoreFoundation.h>
+
+// This file contains constants, interfaces, etc. which are common to the
+// browser application and the app mode loader (a.k.a. shim).
+
+namespace app_mode {
+
+// The ID under which app mode preferences will be recorded
+// ("org.chromium.Chromium" or "com.google.Chrome").
+extern const CFStringRef kAppPrefsID;
+
+// The key under which to record the path to the (user-visible) application
+// bundle; this key is recorded under the ID given by |kAppPrefsID|.
+extern const CFStringRef kLastRunAppBundlePathPrefsKey;
+
+} // namespace app_mode
+
+#endif // CHROME_COMMON_APP_MODE_COMMON_MAC_H_