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

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

Issue 1861383004: Add module for counting date-last-roll-call and persisting those counts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "components/component_updater/configurator_impl.h" 13 #include "components/component_updater/configurator_impl.h"
14 #include "extensions/browser/updater/update_client_config.h" 14 #include "extensions/browser/updater/update_client_config.h"
15 15
16 namespace base {
17 class FilePath;
18 }
19
16 namespace content { 20 namespace content {
17 class BrowserContext; 21 class BrowserContext;
18 } 22 }
19 23
20 namespace extensions { 24 namespace extensions {
21 25
22 class ChromeUpdateClientConfig : public UpdateClientConfig { 26 class ChromeUpdateClientConfig : public UpdateClientConfig {
23 public: 27 public:
24 explicit ChromeUpdateClientConfig(content::BrowserContext* context); 28 explicit ChromeUpdateClientConfig(content::BrowserContext* context);
25 29
(...skipping 10 matching lines...) Expand all
36 std::string GetLang() const override; 40 std::string GetLang() const override;
37 std::string GetOSLongName() const override; 41 std::string GetOSLongName() const override;
38 std::string ExtraRequestParams() const override; 42 std::string ExtraRequestParams() const override;
39 std::string GetDownloadPreference() const override; 43 std::string GetDownloadPreference() const override;
40 net::URLRequestContextGetter* RequestContext() const override; 44 net::URLRequestContextGetter* RequestContext() const override;
41 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher() 45 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher()
42 const override; 46 const override;
43 bool DeltasEnabled() const override; 47 bool DeltasEnabled() const override;
44 bool UseBackgroundDownloader() const override; 48 bool UseBackgroundDownloader() const override;
45 bool UseCupSigning() const override; 49 bool UseCupSigning() const override;
50 base::FilePath GetMetadataPath() const override;
46 51
47 protected: 52 protected:
48 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>; 53 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>;
49 ~ChromeUpdateClientConfig() override; 54 ~ChromeUpdateClientConfig() override;
50 55
51 private: 56 private:
52 component_updater::ConfiguratorImpl impl_; 57 component_updater::ConfiguratorImpl impl_;
53 58
54 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig); 59 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig);
55 }; 60 };
56 61
57 } // namespace extensions 62 } // namespace extensions
58 63
59 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ 64 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698