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

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

Issue 18647002: Web MIDI: add RequestMIDISysExPermission to BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for commit Created 7 years, 5 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
93 int renderer_child_id) OVERRIDE; 93 int renderer_child_id) OVERRIDE;
94 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 94 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
95 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 95 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
96 int renderer_child_id) OVERRIDE; 96 int renderer_child_id) OVERRIDE;
97 virtual net::URLRequestContextGetter* 97 virtual net::URLRequestContextGetter*
98 GetMediaRequestContextForStoragePartition( 98 GetMediaRequestContextForStoragePartition(
99 const base::FilePath& partition_path, 99 const base::FilePath& partition_path,
100 bool in_memory) OVERRIDE; 100 bool in_memory) OVERRIDE;
101 virtual void RequestMIDISysExPermission(
102 int render_process_id,
103 int render_view_id,
104 const GURL& requesting_frame,
105 const MIDISysExPermissionCallback& callback) OVERRIDE;
101 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 106 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
102 virtual content::GeolocationPermissionContext* 107 virtual content::GeolocationPermissionContext*
103 GetGeolocationPermissionContext() OVERRIDE; 108 GetGeolocationPermissionContext() OVERRIDE;
104 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 109 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
105 110
106 private: 111 private:
107 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); 112 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap);
108 void InitHostZoomMap(); 113 void InitHostZoomMap();
109 114
110 #if defined(OS_ANDROID) || defined(OS_IOS) 115 #if defined(OS_ANDROID) || defined(OS_IOS)
(...skipping 19 matching lines...) Expand all
130 base::FilePath last_selected_directory_; 135 base::FilePath last_selected_directory_;
131 136
132 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 137 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
133 138
134 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; 139 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_;
135 140
136 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 141 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
137 }; 142 };
138 143
139 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 144 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.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