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

Side by Side Diff: chrome/browser/web_applications/web_app_mac.h

Issue 9426030: Mac: Enable WebAppShortcutCreatorTest.CreateShortcut unit test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/app_mode_loader_mac.mm ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Path to the app's user data directory. For example: 58 // Path to the app's user data directory. For example:
59 // ~/Library/Application Support/Chromium/Default/Web Applications/_crx_abc/ 59 // ~/Library/Application Support/Chromium/Default/Web Applications/_crx_abc/
60 // Note, the user data directory is the parent of the profile directory. 60 // Note, the user data directory is the parent of the profile directory.
61 FilePath user_data_dir_; 61 FilePath user_data_dir_;
62 62
63 // Returns the bundle identifier to use for this app bundle. 63 // Returns the bundle identifier to use for this app bundle.
64 // |plist| is a dictionary containg a copy of the template plist file to 64 // |plist| is a dictionary containg a copy of the template plist file to
65 // be used for creating the app bundle. 65 // be used for creating the app bundle.
66 NSString* GetBundleIdentifier(NSDictionary* plist) const; 66 NSString* GetBundleIdentifier(NSDictionary* plist) const;
67 67
68 // Show the bundle we just generated in the Finder.
69 virtual void RevealGeneratedBundleInFinder(
70 const FilePath& generated_bundle) const;
71
68 // Information about the app. 72 // Information about the app.
69 ShellIntegration::ShortcutInfo info_; 73 ShellIntegration::ShortcutInfo info_;
70 74
71 // The CFBundleIdentifier of the Chrome browser bundle. 75 // The CFBundleIdentifier of the Chrome browser bundle.
72 string16 chrome_bundle_id_; 76 string16 chrome_bundle_id_;
73 }; 77 };
74 78
75 } // namespace web_app 79 } // namespace web_app
76 80
77 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ 81 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_
OLDNEW
« no previous file with comments | « chrome/app/app_mode_loader_mac.mm ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698