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

Side by Side Diff: chrome/browser/extensions/updater/chrome_update_client_config.h

Issue 2340113002: Inject the prodid for the extensions and component updaters. (Closed)
Patch Set: Fix iOS broken build. Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 explicit ChromeUpdateClientConfig(content::BrowserContext* context); 24 explicit ChromeUpdateClientConfig(content::BrowserContext* context);
25 25
26 int InitialDelay() const override; 26 int InitialDelay() const override;
27 int NextCheckDelay() const override; 27 int NextCheckDelay() const override;
28 int StepDelay() const override; 28 int StepDelay() const override;
29 int OnDemandDelay() const override; 29 int OnDemandDelay() const override;
30 int UpdateDelay() const override; 30 int UpdateDelay() const override;
31 std::vector<GURL> UpdateUrl() const override; 31 std::vector<GURL> UpdateUrl() const override;
32 std::vector<GURL> PingUrl() const override; 32 std::vector<GURL> PingUrl() const override;
33 std::string GetProdId() const override;
33 base::Version GetBrowserVersion() const override; 34 base::Version GetBrowserVersion() const override;
34 std::string GetChannel() const override; 35 std::string GetChannel() const override;
35 std::string GetBrand() const override; 36 std::string GetBrand() const override;
36 std::string GetLang() const override; 37 std::string GetLang() const override;
37 std::string GetOSLongName() const override; 38 std::string GetOSLongName() const override;
38 std::string ExtraRequestParams() const override; 39 std::string ExtraRequestParams() const override;
39 std::string GetDownloadPreference() const override; 40 std::string GetDownloadPreference() const override;
40 net::URLRequestContextGetter* RequestContext() const override; 41 net::URLRequestContextGetter* RequestContext() const override;
41 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher() 42 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher()
42 const override; 43 const override;
43 bool EnabledDeltas() const override; 44 bool EnabledDeltas() const override;
44 bool EnabledComponentUpdates() const override; 45 bool EnabledComponentUpdates() const override;
45 bool EnabledBackgroundDownloader() const override; 46 bool EnabledBackgroundDownloader() const override;
46 bool EnabledCupSigning() const override; 47 bool EnabledCupSigning() const override;
47 PrefService* GetPrefService() const override; 48 PrefService* GetPrefService() const override;
48 49
49 protected: 50 protected:
50 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>; 51 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>;
51 ~ChromeUpdateClientConfig() override; 52 ~ChromeUpdateClientConfig() override;
52 53
53 private: 54 private:
54 component_updater::ConfiguratorImpl impl_; 55 component_updater::ConfiguratorImpl impl_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig); 57 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig);
57 }; 58 };
58 59
59 } // namespace extensions 60 } // namespace extensions
60 61
61 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ 62 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698