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

Side by Side Diff: content/browser/mock_resource_context.h

Issue 9375024: Get IPC working for Indexed DB in shared workers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to ToT 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 | « chrome/browser/profiles/profile_io_data.cc ('k') | content/browser/mock_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_MOCK_RESOURCE_CONTEXT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_
6 #define CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ 6 #define CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual net::URLRequestContext* GetRequestContext() OVERRIDE; 45 virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
46 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; 46 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE;
47 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; 47 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE;
48 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; 48 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE;
49 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; 49 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE;
50 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; 50 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE;
51 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; 51 virtual HostZoomMap* GetHostZoomMap() OVERRIDE;
52 virtual MediaObserver* GetMediaObserver() OVERRIDE; 52 virtual MediaObserver* GetMediaObserver() OVERRIDE;
53 virtual media_stream::MediaStreamManager* GetMediaStreamManager() OVERRIDE; 53 virtual media_stream::MediaStreamManager* GetMediaStreamManager() OVERRIDE;
54 virtual AudioManager* GetAudioManager() OVERRIDE; 54 virtual AudioManager* GetAudioManager() OVERRIDE;
55 virtual WebKitContext* GetWebKitContext() OVERRIDE;
55 56
56 private: 57 private:
57 friend struct base::DefaultLazyInstanceTraits<MockResourceContext>; 58 friend struct base::DefaultLazyInstanceTraits<MockResourceContext>;
58 59
59 scoped_refptr<net::URLRequestContext> test_request_context_; 60 scoped_refptr<net::URLRequestContext> test_request_context_;
60 MediaObserver* media_observer_; 61 MediaObserver* media_observer_;
61 media_stream::MediaStreamManager* media_stream_manager_; 62 media_stream::MediaStreamManager* media_stream_manager_;
62 AudioManager* audio_manager_; 63 AudioManager* audio_manager_;
63 }; 64 };
64 65
65 } // namespace content 66 } // namespace content
66 67
67 #endif // CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ 68 #endif // CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | content/browser/mock_resource_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698