OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
| 11 #include "extensions/browser/updater/update_client_config.h" |
| 12 |
| 13 namespace extensions { |
| 14 |
| 15 class ChromeUpdateClientConfig : public UpdateClientConfig { |
| 16 public: |
| 17 explicit ChromeUpdateClientConfig(content::BrowserContext* context); |
| 18 |
| 19 std::vector<GURL> UpdateUrl() const override; |
| 20 std::vector<GURL> PingUrl() const override; |
| 21 |
| 22 base::Version GetBrowserVersion() const override; |
| 23 std::string GetChannel() const override; |
| 24 std::string GetLang() const override; |
| 25 |
| 26 private: |
| 27 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>; |
| 28 ~ChromeUpdateClientConfig() override; |
| 29 }; |
| 30 |
| 31 } // namespace extensions |
| 32 |
| 33 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ |
OLD | NEW |