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

Side by Side Diff: chrome/installer/util/google_chrome_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
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 extends generic BrowserDistribution class to declare Google Chrome 5 // This file extends generic BrowserDistribution class to declare Google Chrome
6 // specific implementation. 6 // specific implementation.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
10 10
(...skipping 17 matching lines...) Expand all
28 // providing anonymous usage data, then some additional statistics will 28 // providing anonymous usage data, then some additional statistics will
29 // be added to the survey url. 29 // be added to the survey url.
30 // distribution_data contains Google Update related data that will be 30 // distribution_data contains Google Update related data that will be
31 // concatenated to the survey url if the file in local_data_path indicates 31 // concatenated to the survey url if the file in local_data_path indicates
32 // the user has opted in to providing anonymous usage data. 32 // the user has opted in to providing anonymous usage data.
33 void DoPostUninstallOperations( 33 void DoPostUninstallOperations(
34 const base::Version& version, 34 const base::Version& version,
35 const base::FilePath& local_data_path, 35 const base::FilePath& local_data_path,
36 const base::string16& distribution_data) override; 36 const base::string16& distribution_data) override;
37 37
38 base::string16 GetShortcutName() override;
39
40 base::string16 GetBaseAppName() override;
41
42 base::string16 GetPublisherName() override; 38 base::string16 GetPublisherName() override;
43 39
44 base::string16 GetAppDescription() override; 40 base::string16 GetAppDescription() override;
45 41
46 std::string GetSafeBrowsingName() override; 42 std::string GetSafeBrowsingName() override;
47 43
48 // This method reads data from the Google Update ClientState key for 44 // This method reads data from the Google Update ClientState key for
49 // potential use in the uninstall survey. It must be called before the 45 // potential use in the uninstall survey. It must be called before the
50 // key returned by GetVersionKey() is deleted. 46 // key returned by GetVersionKey() is deleted.
51 base::string16 GetDistributionData(HKEY root_key) override; 47 base::string16 GetDistributionData(HKEY root_key) override;
52 48
53 void UpdateInstallStatus( 49 void UpdateInstallStatus(
54 bool system_install, 50 bool system_install,
55 installer::ArchiveType archive_type, 51 installer::ArchiveType archive_type,
56 installer::InstallStatus install_status) override; 52 installer::InstallStatus install_status) override;
57 53
58 protected: 54 protected:
59 // Disallow construction from others. 55 // Disallow construction from others.
60 GoogleChromeDistribution(); 56 GoogleChromeDistribution();
61 57
62 explicit GoogleChromeDistribution( 58 explicit GoogleChromeDistribution(
63 std::unique_ptr<AppRegistrationData> app_reg_data); 59 std::unique_ptr<AppRegistrationData> app_reg_data);
64 60
65 private: 61 private:
66 friend class BrowserDistribution; 62 friend class BrowserDistribution;
67 }; 63 };
68 64
69 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 65 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698