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

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

Issue 442213002: Chromecast shell build fix in CastBrowserContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove UrlRequestContextFactory changes. 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
« no previous file with comments | « no previous file | 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 25 matching lines...) Expand all
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 quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
45 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; 45 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
46 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE;
46 47
47 private: 48 private:
48 class CastResourceContext; 49 class CastResourceContext;
49 50
50 // Performs initialization of the CastBrowserContext while IO is still 51 // Performs initialization of the CastBrowserContext while IO is still
51 // allowed on the current thread. 52 // allowed on the current thread.
52 void InitWhileIOAllowed(); 53 void InitWhileIOAllowed();
53 54
54 URLRequestContextFactory* const url_request_context_factory_; 55 URLRequestContextFactory* const url_request_context_factory_;
55 base::FilePath path_; 56 base::FilePath path_;
56 scoped_ptr<CastResourceContext> resource_context_; 57 scoped_ptr<CastResourceContext> resource_context_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext); 59 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext);
59 }; 60 };
60 61
61 } // namespace shell 62 } // namespace shell
62 } // namespace chromecast 63 } // namespace chromecast
63 64
64 #endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_ 65 #endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/shell/browser/cast_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698