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

Side by Side Diff: content/browser/streams/stream_handle_impl.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 11 matching lines...) Expand all
22 class StreamHandleImpl : public StreamHandle { 22 class StreamHandleImpl : public StreamHandle {
23 public: 23 public:
24 StreamHandleImpl(const base::WeakPtr<Stream>& stream, 24 StreamHandleImpl(const base::WeakPtr<Stream>& stream,
25 const GURL& original_url, 25 const GURL& original_url,
26 const std::string& mime_type, 26 const std::string& mime_type,
27 scoped_refptr<net::HttpResponseHeaders> response_headers); 27 scoped_refptr<net::HttpResponseHeaders> response_headers);
28 virtual ~StreamHandleImpl(); 28 virtual ~StreamHandleImpl();
29 29
30 private: 30 private:
31 // StreamHandle overrides 31 // StreamHandle overrides
32 virtual const GURL& GetURL() OVERRIDE; 32 virtual const GURL& GetURL() override;
33 virtual const GURL& GetOriginalURL() OVERRIDE; 33 virtual const GURL& GetOriginalURL() override;
34 virtual const std::string& GetMimeType() OVERRIDE; 34 virtual const std::string& GetMimeType() override;
35 virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() OVERRIDE; 35 virtual scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders() override;
36 virtual void AddCloseListener(const base::Closure& callback) OVERRIDE; 36 virtual void AddCloseListener(const base::Closure& callback) override;
37 37
38 base::WeakPtr<Stream> stream_; 38 base::WeakPtr<Stream> stream_;
39 GURL url_; 39 GURL url_;
40 GURL original_url_; 40 GURL original_url_;
41 std::string mime_type_; 41 std::string mime_type_;
42 scoped_refptr<net::HttpResponseHeaders> response_headers_; 42 scoped_refptr<net::HttpResponseHeaders> response_headers_;
43 base::MessageLoopProxy* stream_message_loop_; 43 base::MessageLoopProxy* stream_message_loop_;
44 std::vector<base::Closure> close_listeners_; 44 std::vector<base::Closure> close_listeners_;
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_ 49 #endif // CONTENT_BROWSER_STREAMS_STREAM_HANDLE_IMPL_H_
50 50
OLDNEW
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/streams/stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698