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

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

Issue 1016543004: [Mac] Use the app's version as the app shim bundle version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use GetVersionForDisplay. Created 5 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
« no previous file with comments | « no previous file | chrome/browser/web_applications/web_app.cc » ('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_H_ 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // and the launch url will be detected at start-up. In this case, |url| 45 // and the launch url will be detected at start-up. In this case, |url|
46 // is still used to generate the app id (windows app id, not chrome app id). 46 // is still used to generate the app id (windows app id, not chrome app id).
47 std::string extension_id; 47 std::string extension_id;
48 bool is_platform_app; 48 bool is_platform_app;
49 base::string16 title; 49 base::string16 title;
50 base::string16 description; 50 base::string16 description;
51 base::FilePath extension_path; 51 base::FilePath extension_path;
52 gfx::ImageFamily favicon; 52 gfx::ImageFamily favicon;
53 base::FilePath profile_path; 53 base::FilePath profile_path;
54 std::string profile_name; 54 std::string profile_name;
55 std::string version_for_display;
55 }; 56 };
56 57
57 // This specifies a folder in the system applications menu (e.g the Start Menu 58 // This specifies a folder in the system applications menu (e.g the Start Menu
58 // on Windows). 59 // on Windows).
59 // 60 //
60 // These represent the applications menu root, the "Google Chrome" folder and 61 // These represent the applications menu root, the "Google Chrome" folder and
61 // the "Chrome Apps" folder respectively. 62 // the "Chrome Apps" folder respectively.
62 // 63 //
63 // APP_MENU_LOCATION_HIDDEN specifies a shortcut that is used to register the 64 // APP_MENU_LOCATION_HIDDEN specifies a shortcut that is used to register the
64 // app with the OS (in order to give its windows shelf icons, and correct icons 65 // app with the OS (in order to give its windows shelf icons, and correct icons
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 265
265 // Sanitizes |name| and returns a version of it that is safe to use as an 266 // Sanitizes |name| and returns a version of it that is safe to use as an
266 // on-disk file name . 267 // on-disk file name .
267 base::FilePath GetSanitizedFileName(const base::string16& name); 268 base::FilePath GetSanitizedFileName(const base::string16& name);
268 269
269 } // namespace internals 270 } // namespace internals
270 271
271 } // namespace web_app 272 } // namespace web_app
272 273
273 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 274 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/web_applications/web_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698