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

Side by Side Diff: components/update_client/test_configurator.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 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::string GetOSLongName() const override; 70 std::string GetOSLongName() const override;
71 std::string ExtraRequestParams() const override; 71 std::string ExtraRequestParams() const override;
72 std::string GetDownloadPreference() const override; 72 std::string GetDownloadPreference() const override;
73 net::URLRequestContextGetter* RequestContext() const override; 73 net::URLRequestContextGetter* RequestContext() const override;
74 scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override; 74 scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override;
75 bool DeltasEnabled() const override; 75 bool DeltasEnabled() const override;
76 bool UseBackgroundDownloader() const override; 76 bool UseBackgroundDownloader() const override;
77 bool UseCupSigning() const override; 77 bool UseCupSigning() const override;
78 scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() 78 scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
79 const override; 79 const override;
80 base::FilePath GetMetadataPath() const override;
80 81
81 void SetBrand(const std::string& brand); 82 void SetBrand(const std::string& brand);
82 void SetOnDemandTime(int seconds); 83 void SetOnDemandTime(int seconds);
83 void SetInitialDelay(int seconds); 84 void SetInitialDelay(int seconds);
84 void SetDownloadPreference(const std::string& download_preference); 85 void SetDownloadPreference(const std::string& download_preference);
85 void SetUseCupSigning(bool use_cup_signing); 86 void SetUseCupSigning(bool use_cup_signing);
86 void SetUpdateCheckUrl(const GURL& url); 87 void SetUpdateCheckUrl(const GURL& url);
87 void SetPingUrl(const GURL& url); 88 void SetPingUrl(const GURL& url);
88 89
89 private: 90 private:
(...skipping 12 matching lines...) Expand all
102 GURL ping_url_; 103 GURL ping_url_;
103 104
104 scoped_refptr<net::TestURLRequestContextGetter> context_; 105 scoped_refptr<net::TestURLRequestContextGetter> context_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(TestConfigurator); 107 DISALLOW_COPY_AND_ASSIGN(TestConfigurator);
107 }; 108 };
108 109
109 } // namespace update_client 110 } // namespace update_client
110 111
111 #endif // COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_ 112 #endif // COMPONENTS_UPDATE_CLIENT_TEST_CONFIGURATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698