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

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

Issue 1560263002: Store Bluetooth permissions in website settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added code to check session->chooser_permission_manager Created 4 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
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chromecast/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_BROWSER_CAST_BROWSER_CONTEXT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
6 #define CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 6 #define CHROMECAST_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 29 matching lines...) Expand all
40 const base::FilePath& partition_path, 40 const base::FilePath& partition_path,
41 bool in_memory) override; 41 bool in_memory) override;
42 content::ResourceContext* GetResourceContext() override; 42 content::ResourceContext* GetResourceContext() override;
43 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 43 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
44 content::BrowserPluginGuestManager* GetGuestManager() override; 44 content::BrowserPluginGuestManager* GetGuestManager() override;
45 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 45 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
46 content::PushMessagingService* GetPushMessagingService() override; 46 content::PushMessagingService* GetPushMessagingService() override;
47 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 47 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
48 content::PermissionManager* GetPermissionManager() override; 48 content::PermissionManager* GetPermissionManager() override;
49 content::BackgroundSyncController* GetBackgroundSyncController() override; 49 content::BackgroundSyncController* GetBackgroundSyncController() override;
50 content::ChooserPermissionManager* GetChooserPermissionManager() override;
50 51
51 net::URLRequestContextGetter* GetSystemRequestContext(); 52 net::URLRequestContextGetter* GetSystemRequestContext();
52 53
53 private: 54 private:
54 class CastResourceContext; 55 class CastResourceContext;
55 56
56 // Performs initialization of the CastBrowserContext while IO is still 57 // Performs initialization of the CastBrowserContext while IO is still
57 // allowed on the current thread. 58 // allowed on the current thread.
58 void InitWhileIOAllowed(); 59 void InitWhileIOAllowed();
59 60
60 URLRequestContextFactory* const url_request_context_factory_; 61 URLRequestContextFactory* const url_request_context_factory_;
61 base::FilePath path_; 62 base::FilePath path_;
62 scoped_ptr<CastResourceContext> resource_context_; 63 scoped_ptr<CastResourceContext> resource_context_;
63 scoped_ptr<CastDownloadManagerDelegate> download_manager_delegate_; 64 scoped_ptr<CastDownloadManagerDelegate> download_manager_delegate_;
64 scoped_ptr<content::PermissionManager> permission_manager_; 65 scoped_ptr<content::PermissionManager> permission_manager_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext); 67 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext);
67 }; 68 };
68 69
69 } // namespace shell 70 } // namespace shell
70 } // namespace chromecast 71 } // namespace chromecast
71 72
72 #endif // CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 73 #endif // CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698