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

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

Issue 2778223004: Move GetBaseAppName into install_static. (Closed)
Patch Set: sync to position 460686 Created 3 years, 8 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 | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.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 // 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 <memory> 10 #include <memory>
(...skipping 27 matching lines...) Expand all
38 const AppRegistrationData& GetAppRegistrationData() const; 38 const AppRegistrationData& GetAppRegistrationData() const;
39 base::string16 GetStateKey() const; 39 base::string16 GetStateKey() const;
40 base::string16 GetStateMediumKey() const; 40 base::string16 GetStateMediumKey() const;
41 base::string16 GetVersionKey() const; 41 base::string16 GetVersionKey() const;
42 42
43 virtual void DoPostUninstallOperations( 43 virtual void DoPostUninstallOperations(
44 const base::Version& version, 44 const base::Version& version,
45 const base::FilePath& local_data_path, 45 const base::FilePath& local_data_path,
46 const base::string16& distribution_data); 46 const base::string16& distribution_data);
47 47
48 // Returns the unsuffixed application name of this program.
49 // This is the base of the name registered with Default Programs on Windows.
50 // IMPORTANT: This should only be called by the installer which needs to make
51 // decisions on the suffixing of the upcoming install, not by external callers
52 // at run-time.
53 virtual base::string16 GetBaseAppName();
54
55 // Returns the localized display name of this distribution. 48 // Returns the localized display name of this distribution.
56 virtual base::string16 GetDisplayName(); 49 virtual base::string16 GetDisplayName();
57 50
58 // Returns the localized name of the Chrome shortcut for this distribution. 51 // Returns the localized name of the Chrome shortcut for this distribution.
59 virtual base::string16 GetShortcutName(); 52 virtual base::string16 GetShortcutName();
60 53
61 // Returns the localized name of the subfolder in the Start Menu identified by 54 // Returns the localized name of the subfolder in the Start Menu identified by
62 // |subfolder_type| that this distribution should create shortcuts in. For 55 // |subfolder_type| that this distribution should create shortcuts in. For
63 // SUBFOLDER_CHROME this returns GetShortcutName(). 56 // SUBFOLDER_CHROME this returns GetShortcutName().
64 virtual base::string16 GetStartMenuShortcutSubfolder( 57 virtual base::string16 GetStartMenuShortcutSubfolder(
(...skipping 25 matching lines...) Expand all
90 83
91 std::unique_ptr<AppRegistrationData> app_reg_data_; 84 std::unique_ptr<AppRegistrationData> app_reg_data_;
92 85
93 private: 86 private:
94 BrowserDistribution(); 87 BrowserDistribution();
95 88
96 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 89 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
97 }; 90 };
98 91
99 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 92 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698