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

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

Issue 335993002: Convert MIDI permission requests to use WebContents in preparation for switching the code to using … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 72 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
73 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 73 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
74 int renderer_child_id) OVERRIDE; 74 int renderer_child_id) OVERRIDE;
75 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 75 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
76 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 76 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
77 int renderer_child_id) OVERRIDE; 77 int renderer_child_id) OVERRIDE;
78 virtual net::URLRequestContextGetter* 78 virtual net::URLRequestContextGetter*
79 GetMediaRequestContextForStoragePartition( 79 GetMediaRequestContextForStoragePartition(
80 const base::FilePath& partition_path, 80 const base::FilePath& partition_path,
81 bool in_memory) OVERRIDE; 81 bool in_memory) OVERRIDE;
82 virtual void RequestMidiSysExPermission(
83 int render_process_id,
84 int render_view_id,
85 int bridge_id,
86 const GURL& requesting_frame,
87 bool user_gesture,
88 const MidiSysExPermissionCallback& callback) OVERRIDE;
89 virtual void CancelMidiSysExPermissionRequest(
90 int render_process_id,
91 int render_view_id,
92 int bridge_id,
93 const GURL& requesting_frame) OVERRIDE;
94 virtual void RequestProtectedMediaIdentifierPermission( 82 virtual void RequestProtectedMediaIdentifierPermission(
95 int render_process_id, 83 int render_process_id,
96 int render_view_id, 84 int render_view_id,
97 const GURL& origin, 85 const GURL& origin,
98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 86 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
99 virtual void CancelProtectedMediaIdentifierPermissionRequests( 87 virtual void CancelProtectedMediaIdentifierPermissionRequests(
100 int render_process_id, 88 int render_process_id,
101 int render_view_id, 89 int render_view_id,
102 const GURL& origin) OVERRIDE; 90 const GURL& origin) OVERRIDE;
103 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 91 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // components/keyed_service/content/browser_context_keyed_service_factory.* 289 // components/keyed_service/content/browser_context_keyed_service_factory.*
302 290
303 Profile::Delegate* delegate_; 291 Profile::Delegate* delegate_;
304 292
305 chrome_browser_net::Predictor* predictor_; 293 chrome_browser_net::Predictor* predictor_;
306 294
307 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 295 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
308 }; 296 };
309 297
310 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 298 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698