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

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

Issue 2873533002: Prepare to abstract PersistedData by making it part of the configurator.
Patch Set: Really fix a compile error in iOS component configurator this time. Created 3 years, 7 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 28 matching lines...) Expand all
39 std::string GetDownloadPreference() const override; 39 std::string GetDownloadPreference() const override;
40 net::URLRequestContextGetter* RequestContext() const override; 40 net::URLRequestContextGetter* RequestContext() const override;
41 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher() 41 scoped_refptr<update_client::OutOfProcessPatcher> CreateOutOfProcessPatcher()
42 const override; 42 const override;
43 bool EnabledDeltas() const override; 43 bool EnabledDeltas() const override;
44 bool EnabledComponentUpdates() const override; 44 bool EnabledComponentUpdates() const override;
45 bool EnabledBackgroundDownloader() const override; 45 bool EnabledBackgroundDownloader() const override;
46 bool EnabledCupSigning() const override; 46 bool EnabledCupSigning() const override;
47 PrefService* GetPrefService() const override; 47 PrefService* GetPrefService() const override;
48 bool IsPerUserInstall() const override; 48 bool IsPerUserInstall() const override;
49 update_client::PersistedData* CreateMetadata() const override;
waffles 2017/05/12 17:33:34 Can we return a unique_ptr instead?
Minh X. Nguyen 2017/05/14 23:57:22 Done.
49 50
50 protected: 51 protected:
51 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>; 52 friend class base::RefCountedThreadSafe<ChromeUpdateClientConfig>;
52 ~ChromeUpdateClientConfig() override; 53 ~ChromeUpdateClientConfig() override;
53 54
54 private: 55 private:
55 component_updater::ConfiguratorImpl impl_; 56 component_updater::ConfiguratorImpl impl_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig); 58 DISALLOW_COPY_AND_ASSIGN(ChromeUpdateClientConfig);
58 }; 59 };
59 60
60 } // namespace extensions 61 } // namespace extensions
61 62
62 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_ 63 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_UPDATE_CLIENT_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698