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

Side by Side Diff: components/component_updater/configurator_impl.h

Issue 1606943007: Implement Windows GPO support for "dlpref" in component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace comments only Created 4 years, 10 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 COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ 5 #ifndef COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_
6 #define COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ 6 #define COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 base::Version GetBrowserVersion() const; 60 base::Version GetBrowserVersion() const;
61 61
62 // Returns the OS's long name like "Windows", "Mac OS X", etc. 62 // Returns the OS's long name like "Windows", "Mac OS X", etc.
63 std::string GetOSLongName() const; 63 std::string GetOSLongName() const;
64 64
65 // Parameters added to each url request. It can be empty if none are needed. 65 // Parameters added to each url request. It can be empty if none are needed.
66 // The return string must be safe for insertion as an attribute in an 66 // The return string must be safe for insertion as an attribute in an
67 // XML element. 67 // XML element.
68 std::string ExtraRequestParams() const; 68 std::string ExtraRequestParams() const;
69 69
70 // Provides a hint for the server to control the order in which multiple
71 // download urls are returned.
72 std::string GetDownloadPreference() const;
73
70 // The source of contexts for all the url requests. 74 // The source of contexts for all the url requests.
71 net::URLRequestContextGetter* RequestContext() const; 75 net::URLRequestContextGetter* RequestContext() const;
72 76
73 // True means that this client can handle delta updates. 77 // True means that this client can handle delta updates.
74 bool DeltasEnabled() const; 78 bool DeltasEnabled() const;
75 79
76 // True means that the background downloader can be used for downloading 80 // True means that the background downloader can be used for downloading
77 // non on-demand components. 81 // non on-demand components.
78 bool UseBackgroundDownloader() const; 82 bool UseBackgroundDownloader() const;
79 83
80 private: 84 private:
81 net::URLRequestContextGetter* url_request_getter_; 85 net::URLRequestContextGetter* url_request_getter_;
82 std::string extra_info_; 86 std::string extra_info_;
83 GURL url_source_override_; 87 GURL url_source_override_;
84 bool fast_update_; 88 bool fast_update_;
85 bool pings_enabled_; 89 bool pings_enabled_;
86 bool deltas_enabled_; 90 bool deltas_enabled_;
87 bool background_downloads_enabled_; 91 bool background_downloads_enabled_;
88 92
89 DISALLOW_COPY_AND_ASSIGN(ConfiguratorImpl); 93 DISALLOW_COPY_AND_ASSIGN(ConfiguratorImpl);
90 }; 94 };
91 95
92 } // namespace component_updater 96 } // namespace component_updater
93 97
94 #endif // COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_ 98 #endif // COMPONENTS_COMPONENT_UPDATER_CONFIGURATOR_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_update_settings_unittest.cc ('k') | components/component_updater/configurator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698