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

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

Issue 94013004: Add base:: to string16s in chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try again Created 7 years 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 | Annotate | Revision Log
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 12 matching lines...) Expand all
23 // local_data_path is the path of the file containing json metrics that 23 // local_data_path is the path of the file containing json metrics that
24 // will be parsed. If this file indicates that the user has opted in to 24 // will be parsed. If this file indicates that the user has opted in to
25 // providing anonymous usage data, then some additional statistics will 25 // providing anonymous usage data, then some additional statistics will
26 // be added to the survey url. 26 // be added to the survey url.
27 // distribution_data contains Google Update related data that will be 27 // distribution_data contains Google Update related data that will be
28 // concatenated to the survey url if the file in local_data_path indicates 28 // concatenated to the survey url if the file in local_data_path indicates
29 // the user has opted in to providing anonymous usage data. 29 // the user has opted in to providing anonymous usage data.
30 virtual void DoPostUninstallOperations( 30 virtual void DoPostUninstallOperations(
31 const Version& version, 31 const Version& version,
32 const base::FilePath& local_data_path, 32 const base::FilePath& local_data_path,
33 const string16& distribution_data) OVERRIDE; 33 const base::string16& distribution_data) OVERRIDE;
34 34
35 virtual string16 GetActiveSetupGuid() OVERRIDE; 35 virtual base::string16 GetActiveSetupGuid() OVERRIDE;
36 36
37 virtual string16 GetAppGuid() OVERRIDE; 37 virtual base::string16 GetAppGuid() OVERRIDE;
38 38
39 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; 39 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE;
40 40
41 virtual string16 GetIconFilename() OVERRIDE; 41 virtual base::string16 GetIconFilename() OVERRIDE;
42 42
43 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; 43 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE;
44 44
45 virtual string16 GetBaseAppName() OVERRIDE; 45 virtual base::string16 GetBaseAppName() OVERRIDE;
46 46
47 virtual string16 GetBaseAppId() OVERRIDE; 47 virtual base::string16 GetBaseAppId() OVERRIDE;
48 48
49 virtual string16 GetBrowserProgIdPrefix() OVERRIDE; 49 virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE;
50 50
51 virtual string16 GetBrowserProgIdDesc() OVERRIDE; 51 virtual base::string16 GetBrowserProgIdDesc() OVERRIDE;
52 52
53 virtual string16 GetInstallSubDir() OVERRIDE; 53 virtual base::string16 GetInstallSubDir() OVERRIDE;
54 54
55 virtual string16 GetPublisherName() OVERRIDE; 55 virtual base::string16 GetPublisherName() OVERRIDE;
56 56
57 virtual string16 GetAppDescription() OVERRIDE; 57 virtual base::string16 GetAppDescription() OVERRIDE;
58 58
59 virtual std::string GetSafeBrowsingName() OVERRIDE; 59 virtual std::string GetSafeBrowsingName() OVERRIDE;
60 60
61 virtual string16 GetStateKey() OVERRIDE; 61 virtual base::string16 GetStateKey() OVERRIDE;
62 62
63 virtual string16 GetStateMediumKey() OVERRIDE; 63 virtual base::string16 GetStateMediumKey() OVERRIDE;
64 64
65 virtual std::string GetNetworkStatsServer() const OVERRIDE; 65 virtual std::string GetNetworkStatsServer() const OVERRIDE;
66 66
67 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; 67 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE;
68 68
69 // This method reads data from the Google Update ClientState key for 69 // This method reads data from the Google Update ClientState key for
70 // potential use in the uninstall survey. It must be called before the 70 // potential use in the uninstall survey. It must be called before the
71 // key returned by GetVersionKey() is deleted. 71 // key returned by GetVersionKey() is deleted.
72 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE; 72 virtual base::string16 GetDistributionData(HKEY root_key) OVERRIDE;
73 73
74 virtual string16 GetUninstallLinkName() OVERRIDE; 74 virtual base::string16 GetUninstallLinkName() OVERRIDE;
75 75
76 virtual string16 GetUninstallRegPath() OVERRIDE; 76 virtual base::string16 GetUninstallRegPath() OVERRIDE;
77 77
78 virtual string16 GetVersionKey() OVERRIDE; 78 virtual base::string16 GetVersionKey() OVERRIDE;
79 79
80 virtual bool GetCommandExecuteImplClsid( 80 virtual bool GetCommandExecuteImplClsid(
81 string16* handler_class_uuid) OVERRIDE; 81 base::string16* handler_class_uuid) OVERRIDE;
82 82
83 virtual bool AppHostIsSupported() OVERRIDE; 83 virtual bool AppHostIsSupported() OVERRIDE;
84 84
85 virtual void UpdateInstallStatus( 85 virtual void UpdateInstallStatus(
86 bool system_install, 86 bool system_install,
87 installer::ArchiveType archive_type, 87 installer::ArchiveType archive_type,
88 installer::InstallStatus install_status) OVERRIDE; 88 installer::InstallStatus install_status) OVERRIDE;
89 89
90 virtual bool ShouldSetExperimentLabels() OVERRIDE; 90 virtual bool ShouldSetExperimentLabels() OVERRIDE;
91 91
92 virtual bool HasUserExperiments() OVERRIDE; 92 virtual bool HasUserExperiments() OVERRIDE;
93 93
94 const string16& product_guid() { return product_guid_; } 94 const base::string16& product_guid() { return product_guid_; }
95 95
96 protected: 96 protected:
97 void set_product_guid(const string16& guid) { product_guid_ = guid; } 97 void set_product_guid(const base::string16& guid) { product_guid_ = guid; }
98 98
99 // Disallow construction from others. 99 // Disallow construction from others.
100 GoogleChromeDistribution(); 100 GoogleChromeDistribution();
101 101
102 private: 102 private:
103 friend class BrowserDistribution; 103 friend class BrowserDistribution;
104 104
105 // The product ID for Google Update. 105 // The product ID for Google Update.
106 string16 product_guid_; 106 base::string16 product_guid_;
107 }; 107 };
108 108
109 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 109 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_chrome_binaries_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