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

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

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 #ifndef CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_ 5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_
6 #define CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_ 6 #define CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/sequenced_task_runner_helpers.h" 10 #include "base/sequenced_task_runner_helpers.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/public/browser/browser_thread.h"
13 12
14 namespace content { 13 namespace content {
15 class BrowserContext; 14 class BrowserContext;
16 class StreamRegistry; 15 class StreamRegistry;
17 struct StreamContextDeleter; 16 struct StreamContextDeleter;
18 17
19 // A context class that keeps track of StreamRegistry used by the chrome. 18 // A context class that keeps track of StreamRegistry used by the chrome.
20 // There is an instance associated with each BrowserContext. There could be 19 // There is an instance associated with each BrowserContext. There could be
21 // multiple URLRequestContexts in the same browser context that refers to the 20 // multiple URLRequestContexts in the same browser context that refers to the
22 // same instance. 21 // same instance.
(...skipping 28 matching lines...) Expand all
51 50
52 struct StreamContextDeleter { 51 struct StreamContextDeleter {
53 static void Destruct(const StreamContext* context) { 52 static void Destruct(const StreamContext* context) {
54 context->DeleteOnCorrectThread(); 53 context->DeleteOnCorrectThread();
55 } 54 }
56 }; 55 };
57 56
58 } // namespace content 57 } // namespace content
59 58
60 #endif // CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_ 59 #endif // CONTENT_BROWSER_STREAMS_STREAM_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/browser/streams/stream_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698