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

Side by Side Diff: chrome/common/mac/app_mode_common.h

Issue 9618021: Infrastructure to improve app mode stub <-> Chrome main communication. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 5 #ifndef CHROME_COMMON_MAC_APP_MODE_COMMON_H_
6 #define CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 6 #define CHROME_COMMON_MAC_APP_MODE_COMMON_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 13
14 // This file contains constants, interfaces, etc. which are common to the 14 // This file contains constants, interfaces, etc. which are common to the
15 // browser application and the app mode loader (a.k.a. shim). 15 // browser application and the app mode loader (a.k.a. shim).
16 16
17 namespace app_mode { 17 namespace app_mode {
18 18
19 struct ChromeAppModeInfo;
20
21 void SetAppModeInfo(const ChromeAppModeInfo* info);
22 const ChromeAppModeInfo* AppModeInfo();
23
19 // The key under which the browser's bundle ID will be stored in the 24 // The key under which the browser's bundle ID will be stored in the
20 // app mode launcher bundle's Info.plist. 25 // app mode launcher bundle's Info.plist.
21 extern NSString* const kBrowserBundleIDKey; 26 extern NSString* const kBrowserBundleIDKey;
22 27
23 // Key for the shortcut ID. 28 // Key for the shortcut ID.
24 extern NSString* const kCrAppModeShortcutIDKey; 29 extern NSString* const kCrAppModeShortcutIDKey;
25 30
26 // Key for the app's name. 31 // Key for the app's name.
27 extern NSString* const kCrAppModeShortcutNameKey; 32 extern NSString* const kCrAppModeShortcutNameKey;
28 33
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Path to the app's user data directory. 98 // Path to the app's user data directory.
94 FilePath user_data_dir; 99 FilePath user_data_dir;
95 100
96 // Path to the app's extension. 101 // Path to the app's extension.
97 FilePath extension_path; 102 FilePath extension_path;
98 }; 103 };
99 104
100 } // namespace app_mode 105 } // namespace app_mode
101 106
102 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 107 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698