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

Side by Side Diff: chromecast/shell/browser/cast_browser_context.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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/test/base/testing_profile.cc ('k') | chromecast/shell/browser/cast_browser_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_ 5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_
6 #define CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_ 6 #define CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
(...skipping 23 matching lines...) Expand all
34 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 34 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
35 int renderer_child_id) OVERRIDE; 35 int renderer_child_id) OVERRIDE;
36 virtual net::URLRequestContextGetter* 36 virtual net::URLRequestContextGetter*
37 GetMediaRequestContextForStoragePartition( 37 GetMediaRequestContextForStoragePartition(
38 const base::FilePath& partition_path, 38 const base::FilePath& partition_path,
39 bool in_memory) OVERRIDE; 39 bool in_memory) OVERRIDE;
40 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 40 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
41 virtual content::DownloadManagerDelegate* 41 virtual content::DownloadManagerDelegate*
42 GetDownloadManagerDelegate() OVERRIDE; 42 GetDownloadManagerDelegate() OVERRIDE;
43 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 43 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
44 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 44 virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
45 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; 45 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
46 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; 46 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE;
47 47
48 private: 48 private:
49 class CastResourceContext; 49 class CastResourceContext;
50 50
51 // Performs initialization of the CastBrowserContext while IO is still 51 // Performs initialization of the CastBrowserContext while IO is still
52 // allowed on the current thread. 52 // allowed on the current thread.
53 void InitWhileIOAllowed(); 53 void InitWhileIOAllowed();
54 54
55 URLRequestContextFactory* const url_request_context_factory_; 55 URLRequestContextFactory* const url_request_context_factory_;
56 base::FilePath path_; 56 base::FilePath path_;
57 scoped_ptr<CastResourceContext> resource_context_; 57 scoped_ptr<CastResourceContext> resource_context_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext); 59 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext);
60 }; 60 };
61 61
62 } // namespace shell 62 } // namespace shell
63 } // namespace chromecast 63 } // namespace chromecast
64 64
65 #endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_ 65 #endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chromecast/shell/browser/cast_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698