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

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

Issue 1011953003: Refactor Permissions related method out of ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_type_enum_class
Patch Set: fix cros Created 5 years, 8 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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 97 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
98 int renderer_child_id) override; 98 int renderer_child_id) override;
99 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 99 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
100 const base::FilePath& partition_path, 100 const base::FilePath& partition_path,
101 bool in_memory) override; 101 bool in_memory) override;
102 content::ResourceContext* GetResourceContext() override; 102 content::ResourceContext* GetResourceContext() override;
103 content::BrowserPluginGuestManager* GetGuestManager() override; 103 content::BrowserPluginGuestManager* GetGuestManager() override;
104 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 104 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
105 content::PushMessagingService* GetPushMessagingService() override; 105 content::PushMessagingService* GetPushMessagingService() override;
106 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 106 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
107 content::PermissionManager* GetPermissionManager() override;
107 108
108 private: 109 private:
109 void InitIoData(); 110 void InitIoData();
110 111
111 // Allows a profile to track changes in zoom levels in its parent profile. 112 // Allows a profile to track changes in zoom levels in its parent profile.
112 void TrackZoomLevelsFromParent(); 113 void TrackZoomLevelsFromParent();
113 114
114 #if defined(OS_ANDROID) || defined(OS_IOS) 115 #if defined(OS_ANDROID) || defined(OS_IOS)
115 void UseSystemProxy(); 116 void UseSystemProxy();
116 #endif // defined(OS_ANDROID) || defined(OS_IOS) 117 #endif // defined(OS_ANDROID) || defined(OS_IOS)
(...skipping 22 matching lines...) Expand all
139 Time start_time_; 140 Time start_time_;
140 141
141 base::FilePath last_selected_directory_; 142 base::FilePath last_selected_directory_;
142 143
143 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
146 }; 147 };
147 148
148 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_manager_unittest.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698