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

Side by Side Diff: net/http/http_cache.cc

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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 | « net/http/http_cache.h ('k') | net/http/http_cache_transaction.h » ('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 #include "net/http/http_cache.h" 5 #include "net/http/http_cache.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 10
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 //----------------------------------------------------------------------------- 280 //-----------------------------------------------------------------------------
281 281
282 class HttpCache::QuicServerInfoFactoryAdaptor : public QuicServerInfoFactory { 282 class HttpCache::QuicServerInfoFactoryAdaptor : public QuicServerInfoFactory {
283 public: 283 public:
284 QuicServerInfoFactoryAdaptor(HttpCache* http_cache) 284 QuicServerInfoFactoryAdaptor(HttpCache* http_cache)
285 : http_cache_(http_cache) { 285 : http_cache_(http_cache) {
286 } 286 }
287 287
288 virtual QuicServerInfo* GetForServer( 288 virtual QuicServerInfo* GetForServer(
289 const QuicServerId& server_id) OVERRIDE { 289 const QuicServerId& server_id) override {
290 return new DiskCacheBasedQuicServerInfo(server_id, http_cache_); 290 return new DiskCacheBasedQuicServerInfo(server_id, http_cache_);
291 } 291 }
292 292
293 private: 293 private:
294 HttpCache* const http_cache_; 294 HttpCache* const http_cache_;
295 }; 295 };
296 296
297 //----------------------------------------------------------------------------- 297 //-----------------------------------------------------------------------------
298 298
299 class HttpCache::AsyncValidation { 299 class HttpCache::AsyncValidation {
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 building_backend_ = false; 1401 building_backend_ = false;
1402 DeletePendingOp(pending_op); 1402 DeletePendingOp(pending_op);
1403 } 1403 }
1404 1404
1405 // The cache may be gone when we return from the callback. 1405 // The cache may be gone when we return from the callback.
1406 if (!item->DoCallback(result, disk_cache_.get())) 1406 if (!item->DoCallback(result, disk_cache_.get()))
1407 item->NotifyTransaction(result, NULL); 1407 item->NotifyTransaction(result, NULL);
1408 } 1408 }
1409 1409
1410 } // namespace net 1410 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_cache.h ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698