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

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

Issue 317823007: Hook PushMessagingMessageFilter up to GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make push_messaging_service non-const 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 124 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
125 virtual void CancelProtectedMediaIdentifierPermissionRequests( 125 virtual void CancelProtectedMediaIdentifierPermissionRequests(
126 int render_process_id, 126 int render_process_id,
127 int render_view_id, 127 int render_view_id,
128 const GURL& origin) OVERRIDE; 128 const GURL& origin) OVERRIDE;
129 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 129 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
130 virtual content::GeolocationPermissionContext* 130 virtual content::GeolocationPermissionContext*
131 GetGeolocationPermissionContext() OVERRIDE; 131 GetGeolocationPermissionContext() OVERRIDE;
132 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 132 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
133 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 133 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
134 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
134 135
135 private: 136 private:
136 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); 137 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap);
137 void InitIoData(); 138 void InitIoData();
138 void InitHostZoomMap(); 139 void InitHostZoomMap();
139 140
140 #if defined(OS_ANDROID) || defined(OS_IOS) 141 #if defined(OS_ANDROID) || defined(OS_IOS)
141 void UseSystemProxy(); 142 void UseSystemProxy();
142 #endif // defined(OS_ANDROID) || defined(OS_IOS) 143 #endif // defined(OS_ANDROID) || defined(OS_IOS)
143 144
(...skipping 17 matching lines...) Expand all
161 base::FilePath last_selected_directory_; 162 base::FilePath last_selected_directory_;
162 163
163 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 164 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
164 165
165 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 166 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
166 167
167 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 168 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
168 }; 169 };
169 170
170 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 171 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698