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

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

Issue 2258243002: Consistently use namespaced base::Version in chrome/installer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <memory> 10 #include <memory>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 Type GetType() const { return type_; } 52 Type GetType() const { return type_; }
53 53
54 // Getter and adaptors for the underlying |app_reg_data_|. 54 // Getter and adaptors for the underlying |app_reg_data_|.
55 const AppRegistrationData& GetAppRegistrationData() const; 55 const AppRegistrationData& GetAppRegistrationData() const;
56 base::string16 GetAppGuid() const; 56 base::string16 GetAppGuid() const;
57 base::string16 GetStateKey() const; 57 base::string16 GetStateKey() const;
58 base::string16 GetStateMediumKey() const; 58 base::string16 GetStateMediumKey() const;
59 base::string16 GetVersionKey() const; 59 base::string16 GetVersionKey() const;
60 60
61 virtual void DoPostUninstallOperations( 61 virtual void DoPostUninstallOperations(
62 const Version& version, 62 const base::Version& version,
63 const base::FilePath& local_data_path, 63 const base::FilePath& local_data_path,
64 const base::string16& distribution_data); 64 const base::string16& distribution_data);
65 65
66 // Returns the GUID to be used when registering for Active Setup. 66 // Returns the GUID to be used when registering for Active Setup.
67 virtual base::string16 GetActiveSetupGuid(); 67 virtual base::string16 GetActiveSetupGuid();
68 68
69 // Returns the unsuffixed application name of this program. 69 // Returns the unsuffixed application name of this program.
70 // This is the base of the name registered with Default Programs on Windows. 70 // This is the base of the name registered with Default Programs on Windows.
71 // IMPORTANT: This should only be called by the installer which needs to make 71 // IMPORTANT: This should only be called by the installer which needs to make
72 // decisions on the suffixing of the upcoming install, not by external callers 72 // decisions on the suffixing of the upcoming install, not by external callers
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 std::unique_ptr<AppRegistrationData> app_reg_data_; 168 std::unique_ptr<AppRegistrationData> app_reg_data_;
169 169
170 private: 170 private:
171 BrowserDistribution(); 171 BrowserDistribution();
172 172
173 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 173 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
174 }; 174 };
175 175
176 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 176 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/test/alternate_version_generator.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698