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

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.h

Issue 343743004: Implement a permission check for push. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and addressed Michael's comments Created 6 years, 6 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
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 CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 102 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
103 int renderer_child_id) OVERRIDE; 103 int renderer_child_id) OVERRIDE;
104 virtual net::URLRequestContextGetter* 104 virtual net::URLRequestContextGetter*
105 GetMediaRequestContextForStoragePartition( 105 GetMediaRequestContextForStoragePartition(
106 const base::FilePath& partition_path, 106 const base::FilePath& partition_path,
107 bool in_memory) OVERRIDE; 107 bool in_memory) OVERRIDE;
108 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 108 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
109 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 109 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
110 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 110 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
111 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; 111 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
112 virtual gcm::GCMPermissionContext* GetPushMessagingPermissionContext()
113 OVERRIDE;
112 114
113 private: 115 private:
114 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); 116 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap);
115 void InitIoData(); 117 void InitIoData();
116 void InitHostZoomMap(); 118 void InitHostZoomMap();
117 119
118 #if defined(OS_ANDROID) || defined(OS_IOS) 120 #if defined(OS_ANDROID) || defined(OS_IOS)
119 void UseSystemProxy(); 121 void UseSystemProxy();
120 #endif // defined(OS_ANDROID) || defined(OS_IOS) 122 #endif // defined(OS_ANDROID) || defined(OS_IOS)
121 123
(...skipping 17 matching lines...) Expand all
139 base::FilePath last_selected_directory_; 141 base::FilePath last_selected_directory_;
140 142
141 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 143 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
142 144
143 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 145 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
144 146
145 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 147 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
146 }; 148 };
147 149
148 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 150 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698