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

Side by Side Diff: components/update_client/configurator.h

Issue 1685323002: Implement CUP signing in UpdateClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and remove duplicated code comment. 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UPDATE_CLIENT_CONFIGURATOR_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_
6 #define COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_ 6 #define COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual scoped_refptr<update_client::OutOfProcessPatcher> 91 virtual scoped_refptr<update_client::OutOfProcessPatcher>
92 CreateOutOfProcessPatcher() const = 0; 92 CreateOutOfProcessPatcher() const = 0;
93 93
94 // True means that this client can handle delta updates. 94 // True means that this client can handle delta updates.
95 virtual bool DeltasEnabled() const = 0; 95 virtual bool DeltasEnabled() const = 0;
96 96
97 // True means that the background downloader can be used for downloading 97 // True means that the background downloader can be used for downloading
98 // non on-demand components. 98 // non on-demand components.
99 virtual bool UseBackgroundDownloader() const = 0; 99 virtual bool UseBackgroundDownloader() const = 0;
100 100
101 // True if signing of update checks is enabled.
102 virtual bool UseCupSigning() const = 0;
103
101 // Gets a task runner to a blocking pool of threads suitable for worker jobs. 104 // Gets a task runner to a blocking pool of threads suitable for worker jobs.
102 virtual scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() 105 virtual scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
103 const = 0; 106 const = 0;
104 107
105 protected: 108 protected:
106 friend class base::RefCountedThreadSafe<Configurator>; 109 friend class base::RefCountedThreadSafe<Configurator>;
107 110
108 virtual ~Configurator() {} 111 virtual ~Configurator() {}
109 }; 112 };
110 113
111 } // namespace update_client 114 } // namespace update_client
112 115
113 #endif // COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_ 116 #endif // COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_
OLDNEW
« no previous file with comments | « components/update_client/client_update_protocol_ecdsa_unittest.cc ('k') | components/update_client/ping_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698