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

Side by Side Diff: content/browser/appcache/appcache_response.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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
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 "content/browser/appcache/appcache_response.h" 5 #include "content/browser/appcache/appcache_response.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 19 matching lines...) Expand all
30 // pickle is transfered to the WrappedPickleIOBuffer object. 30 // pickle is transfered to the WrappedPickleIOBuffer object.
31 class WrappedPickleIOBuffer : public net::WrappedIOBuffer { 31 class WrappedPickleIOBuffer : public net::WrappedIOBuffer {
32 public: 32 public:
33 explicit WrappedPickleIOBuffer(const Pickle* pickle) : 33 explicit WrappedPickleIOBuffer(const Pickle* pickle) :
34 net::WrappedIOBuffer(reinterpret_cast<const char*>(pickle->data())), 34 net::WrappedIOBuffer(reinterpret_cast<const char*>(pickle->data())),
35 pickle_(pickle) { 35 pickle_(pickle) {
36 DCHECK(pickle->data()); 36 DCHECK(pickle->data());
37 } 37 }
38 38
39 private: 39 private:
40 virtual ~WrappedPickleIOBuffer() {} 40 ~WrappedPickleIOBuffer() override {}
41 41
42 scoped_ptr<const Pickle> pickle_; 42 scoped_ptr<const Pickle> pickle_;
43 }; 43 };
44 44
45 } // anon namespace 45 } // anon namespace
46 46
47 47
48 // AppCacheResponseInfo ---------------------------------------------- 48 // AppCacheResponseInfo ----------------------------------------------
49 49
50 AppCacheResponseInfo::AppCacheResponseInfo( 50 AppCacheResponseInfo::AppCacheResponseInfo(
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 create_callback_.Reset(); 414 create_callback_.Reset();
415 } 415 }
416 416
417 if (info_buffer_.get()) 417 if (info_buffer_.get())
418 ContinueWriteInfo(); 418 ContinueWriteInfo();
419 else 419 else
420 ContinueWriteData(); 420 ContinueWriteData();
421 } 421 }
422 422
423 } // namespace content 423 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_response.h ('k') | content/browser/appcache/appcache_response_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698