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

Side by Side Diff: chrome/installer/util/browser_distribution.h

Issue 13864015: Move app launcher and chrome apps shortcut strings into the installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migrate_app_id_fix
Patch Set: fix linux unit tests Created 7 years, 2 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 // This file declares a class that contains various method related to branding. 5 // This file declares a class that contains various method related to branding.
6 6
7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 19 matching lines...) Expand all
30 }; 30 };
31 31
32 enum ShortcutType { 32 enum ShortcutType {
33 SHORTCUT_CHROME, 33 SHORTCUT_CHROME,
34 SHORTCUT_CHROME_ALTERNATE, 34 SHORTCUT_CHROME_ALTERNATE,
35 SHORTCUT_APP_LAUNCHER 35 SHORTCUT_APP_LAUNCHER
36 }; 36 };
37 37
38 enum Subfolder { 38 enum Subfolder {
39 SUBFOLDER_CHROME, 39 SUBFOLDER_CHROME,
40 // TODO(calamity): add SUBFOLDER_APPS when refactoring chrome app dir code. 40 SUBFOLDER_APPS,
41 }; 41 };
42 42
43 virtual ~BrowserDistribution() {} 43 virtual ~BrowserDistribution() {}
44 44
45 static BrowserDistribution* GetDistribution(); 45 static BrowserDistribution* GetDistribution();
46 46
47 static BrowserDistribution* GetSpecificDistribution(Type type); 47 static BrowserDistribution* GetSpecificDistribution(Type type);
48 48
49 Type GetType() const { return type_; } 49 Type GetType() const { return type_; }
50 50
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 const Type type_; 164 const Type type_;
165 165
166 private: 166 private:
167 BrowserDistribution(); 167 BrowserDistribution();
168 168
169 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 169 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
170 }; 170 };
171 171
172 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 172 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698