OLD | NEW |
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 17 matching lines...) Expand all Loading... |
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 base::Version GetBrowserVersion() const override; | 33 base::Version GetBrowserVersion() const override; |
34 std::string GetChannel() const override; | 34 std::string GetChannel() const override; |
35 std::string GetLang() const override; | 35 std::string GetLang() const override; |
36 std::string GetOSLongName() const override; | 36 std::string GetOSLongName() const override; |
37 std::string ExtraRequestParams() const override; | 37 std::string ExtraRequestParams() const override; |
| 38 std::string GetDownloadPreference() const override; |
38 net::URLRequestContextGetter* RequestContext() const override; | 39 net::URLRequestContextGetter* RequestContext() const override; |
39 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher() | 40 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher() |
40 const override; | 41 const override; |
41 bool DeltasEnabled() const override; | 42 bool DeltasEnabled() const override; |
42 bool UseBackgroundDownloader() const override; | 43 bool UseBackgroundDownloader() const override; |
43 | 44 |
44 protected: | 45 protected: |
45 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>; | 46 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>; |
46 ~ChromeUpdateClientConfig() override; | 47 ~ChromeUpdateClientConfig() override; |
47 | 48 |
48 private: | 49 private: |
49 component_updater::ConfiguratorImpl impl_; | 50 component_updater::ConfiguratorImpl impl_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig); | 52 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace extensions | 55 } // namespace extensions |
55 | 56 |
56 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ | 57 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ |
OLD | NEW |