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

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

Issue 1362043005: Add extensions code to use common updater in components/update_client/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: responded to review comments Created 5 years, 2 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698