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

Side by Side Diff: chrome/browser/chromeos/timezone/timezone_request.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 CHROME_BROWSER_CHROMEOS_TIMEZONE_TIMEZONE_REQUEST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_TIMEZONE_TIMEZONE_REQUEST_H_
6 #define CHROME_BROWSER_CHROMEOS_TIMEZONE_TIMEZONE_REQUEST_H_ 6 #define CHROME_BROWSER_CHROMEOS_TIMEZONE_TIMEZONE_REQUEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 retry_sleep_on_server_error_ = value; 88 retry_sleep_on_server_error_ = value;
89 } 89 }
90 90
91 void set_retry_sleep_on_bad_response_for_testing( 91 void set_retry_sleep_on_bad_response_for_testing(
92 const base::TimeDelta value) { 92 const base::TimeDelta value) {
93 retry_sleep_on_bad_response_ = value; 93 retry_sleep_on_bad_response_ = value;
94 } 94 }
95 95
96 private: 96 private:
97 // net::URLFetcherDelegate 97 // net::URLFetcherDelegate
98 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 98 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
99 99
100 // Start new request. 100 // Start new request.
101 void StartRequest(); 101 void StartRequest();
102 102
103 // Schedules retry. 103 // Schedules retry.
104 void Retry(bool server_error); 104 void Retry(bool server_error);
105 105
106 scoped_refptr<net::URLRequestContextGetter> url_context_getter_; 106 scoped_refptr<net::URLRequestContextGetter> url_context_getter_;
107 const GURL service_url_; 107 const GURL service_url_;
108 Geoposition geoposition_; 108 Geoposition geoposition_;
(...skipping 22 matching lines...) Expand all
131 131
132 // Creation and destruction should happen on the same thread. 132 // Creation and destruction should happen on the same thread.
133 base::ThreadChecker thread_checker_; 133 base::ThreadChecker thread_checker_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(TimeZoneRequest); 135 DISALLOW_COPY_AND_ASSIGN(TimeZoneRequest);
136 }; 136 };
137 137
138 } // namespace chromeos 138 } // namespace chromeos
139 139
140 #endif // CHROME_BROWSER_CHROMEOS_TIMEZONE_TIMEZONE_REQUEST_H_ 140 #endif // CHROME_BROWSER_CHROMEOS_TIMEZONE_TIMEZONE_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698