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

Side by Side Diff: content/shell/shell_resource_context.h

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 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
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/shell/shell_resource_context.cc » ('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 #ifndef CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_ 5 #ifndef CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_
6 #define CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_ 6 #define CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "content/public/browser/resource_context.h" 11 #include "content/public/browser/resource_context.h"
12 12
13 class ChromeBlobStorageContext;
14
15 namespace content { 13 namespace content {
16 14
17 class ShellURLRequestContextGetter; 15 class ShellURLRequestContextGetter;
18 16
19 class ShellResourceContext : public content::ResourceContext { 17 class ShellResourceContext : public content::ResourceContext {
20 public: 18 public:
21 explicit ShellResourceContext(ShellURLRequestContextGetter* getter); 19 explicit ShellResourceContext(ShellURLRequestContextGetter* getter);
22 virtual ~ShellResourceContext(); 20 virtual ~ShellResourceContext();
23 21
24 private: 22 private:
25 // ResourceContext implementation: 23 // ResourceContext implementation:
26 virtual net::HostResolver* GetHostResolver() OVERRIDE; 24 virtual net::HostResolver* GetHostResolver() OVERRIDE;
27 virtual net::URLRequestContext* GetRequestContext() OVERRIDE; 25 virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
28 virtual MediaObserver* GetMediaObserver() OVERRIDE; 26 virtual MediaObserver* GetMediaObserver() OVERRIDE;
29 virtual media_stream::MediaStreamManager* GetMediaStreamManager() OVERRIDE;
30 virtual AudioManager* GetAudioManager() OVERRIDE;
31 27
32 scoped_refptr<ShellURLRequestContextGetter> getter_; 28 scoped_refptr<ShellURLRequestContextGetter> getter_;
33 29
34 DISALLOW_COPY_AND_ASSIGN(ShellResourceContext); 30 DISALLOW_COPY_AND_ASSIGN(ShellResourceContext);
35 }; 31 };
36 32
37 } // namespace content 33 } // namespace content
38 34
39 #endif // CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_ 35 #endif // CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/shell/shell_resource_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698