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

Side by Side Diff: rlz/lib/financial_ping.cc

Issue 633353002: Replace OVERRIDE with its C++11 counterparts in src/rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « rlz/chromeos/lib/rlz_value_store_chromeos.h ('k') | rlz/lib/rlz_lib_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Library functions related to the Financial Server ping. 5 // Library functions related to the Financial Server ping.
6 6
7 #include "rlz/lib/financial_ping.h" 7 #include "rlz/lib/financial_ping.h"
8 8
9 #include "base/atomicops.h" 9 #include "base/atomicops.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 return true; 193 return true;
194 } 194 }
195 195
196 namespace { 196 namespace {
197 197
198 class FinancialPingUrlFetcherDelegate : public net::URLFetcherDelegate { 198 class FinancialPingUrlFetcherDelegate : public net::URLFetcherDelegate {
199 public: 199 public:
200 FinancialPingUrlFetcherDelegate(const base::Closure& callback) 200 FinancialPingUrlFetcherDelegate(const base::Closure& callback)
201 : callback_(callback) { 201 : callback_(callback) {
202 } 202 }
203 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 203 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
204 204
205 private: 205 private:
206 base::Closure callback_; 206 base::Closure callback_;
207 }; 207 };
208 208
209 void FinancialPingUrlFetcherDelegate::OnURLFetchComplete( 209 void FinancialPingUrlFetcherDelegate::OnURLFetchComplete(
210 const net::URLFetcher* source) { 210 const net::URLFetcher* source) {
211 callback_.Run(); 211 callback_.Run();
212 } 212 }
213 213
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } 404 }
405 405
406 bool WasSendFinancialPingInterrupted() { 406 bool WasSendFinancialPingInterrupted() {
407 return send_financial_ping_interrupted_for_test; 407 return send_financial_ping_interrupted_for_test;
408 } 408 }
409 409
410 } // namespace test 410 } // namespace test
411 #endif 411 #endif
412 412
413 } // namespace rlz_lib 413 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « rlz/chromeos/lib/rlz_value_store_chromeos.h ('k') | rlz/lib/rlz_lib_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698