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

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

Issue 2340113002: Inject the prodid for the extensions and component updaters. (Closed)
Patch Set: Fix iOS broken build. Created 4 years, 3 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_TEST_CONFIGURATOR_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_
6 #define COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ 6 #define COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner); 57 const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner);
58 58
59 // Overrrides for Configurator. 59 // Overrrides for Configurator.
60 int InitialDelay() const override; 60 int InitialDelay() const override;
61 int NextCheckDelay() const override; 61 int NextCheckDelay() const override;
62 int StepDelay() const override; 62 int StepDelay() const override;
63 int OnDemandDelay() const override; 63 int OnDemandDelay() const override;
64 int UpdateDelay() const override; 64 int UpdateDelay() const override;
65 std::vector<GURL> UpdateUrl() const override; 65 std::vector<GURL> UpdateUrl() const override;
66 std::vector<GURL> PingUrl() const override; 66 std::vector<GURL> PingUrl() const override;
67 std::string GetProdId() const override;
67 base::Version GetBrowserVersion() const override; 68 base::Version GetBrowserVersion() const override;
68 std::string GetChannel() const override; 69 std::string GetChannel() const override;
69 std::string GetBrand() const override; 70 std::string GetBrand() const override;
70 std::string GetLang() const override; 71 std::string GetLang() const override;
71 std::string GetOSLongName() const override; 72 std::string GetOSLongName() const override;
72 std::string ExtraRequestParams() const override; 73 std::string ExtraRequestParams() const override;
73 std::string GetDownloadPreference() const override; 74 std::string GetDownloadPreference() const override;
74 net::URLRequestContextGetter* RequestContext() const override; 75 net::URLRequestContextGetter* RequestContext() const override;
75 scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override; 76 scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override;
76 bool EnabledDeltas() const override; 77 bool EnabledDeltas() const override;
(...skipping 30 matching lines...) Expand all
107 GURL ping_url_; 108 GURL ping_url_;
108 109
109 scoped_refptr<net::TestURLRequestContextGetter> context_; 110 scoped_refptr<net::TestURLRequestContextGetter> context_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(TestConfigurator); 112 DISALLOW_COPY_AND_ASSIGN(TestConfigurator);
112 }; 113 };
113 114
114 } // namespace update_client 115 } // namespace update_client
115 116
116 #endif // COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ 117 #endif // COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698