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

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

Issue 166243002: Cleanup: Remove unneeded browser_thread.h includes in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build, address nits Created 6 years, 10 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 | Annotate | Revision Log
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 #include "content/browser/streams/stream_handle_impl.h" 5 #include "content/browser/streams/stream_handle_impl.h"
6 6
7 #include "base/bind.h"
8 #include "base/location.h"
9 #include "base/message_loop/message_loop_proxy.h"
7 #include "content/browser/streams/stream.h" 10 #include "content/browser/streams/stream.h"
8 #include "content/public/browser/browser_thread.h"
9 11
10 namespace content { 12 namespace content {
11 13
12 StreamHandleImpl::StreamHandleImpl(const base::WeakPtr<Stream>& stream, 14 StreamHandleImpl::StreamHandleImpl(const base::WeakPtr<Stream>& stream,
13 const GURL& original_url, 15 const GURL& original_url,
14 const std::string& mime_type) 16 const std::string& mime_type)
15 : stream_(stream), 17 : stream_(stream),
16 url_(stream->url()), 18 url_(stream->url()),
17 original_url_(original_url), 19 original_url_(original_url),
18 mime_type_(mime_type), 20 mime_type_(mime_type),
(...skipping 10 matching lines...) Expand all
29 31
30 const GURL& StreamHandleImpl::GetOriginalURL() { 32 const GURL& StreamHandleImpl::GetOriginalURL() {
31 return original_url_; 33 return original_url_;
32 } 34 }
33 35
34 const std::string& StreamHandleImpl::GetMimeType() { 36 const std::string& StreamHandleImpl::GetMimeType() {
35 return mime_type_; 37 return mime_type_;
36 } 38 }
37 39
38 } // namespace content 40 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/streams/stream_handle_impl.h ('k') | content/browser/web_contents/web_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698