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

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

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test merge Created 6 years, 9 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 int renderer_child_id) OVERRIDE; 73 int renderer_child_id) OVERRIDE;
74 virtual net::URLRequestContextGetter* 74 virtual net::URLRequestContextGetter*
75 GetMediaRequestContextForStoragePartition( 75 GetMediaRequestContextForStoragePartition(
76 const base::FilePath& partition_path, 76 const base::FilePath& partition_path,
77 bool in_memory) OVERRIDE; 77 bool in_memory) OVERRIDE;
78 virtual void RequestMidiSysExPermission( 78 virtual void RequestMidiSysExPermission(
79 int render_process_id, 79 int render_process_id,
80 int render_view_id, 80 int render_view_id,
81 int bridge_id, 81 int bridge_id,
82 const GURL& requesting_frame, 82 const GURL& requesting_frame,
83 bool user_gesture,
83 const MidiSysExPermissionCallback& callback) OVERRIDE; 84 const MidiSysExPermissionCallback& callback) OVERRIDE;
84 virtual void CancelMidiSysExPermissionRequest( 85 virtual void CancelMidiSysExPermissionRequest(
85 int render_process_id, 86 int render_process_id,
86 int render_view_id, 87 int render_view_id,
87 int bridge_id, 88 int bridge_id,
88 const GURL& requesting_frame) OVERRIDE; 89 const GURL& requesting_frame) OVERRIDE;
89 virtual void RequestProtectedMediaIdentifierPermission( 90 virtual void RequestProtectedMediaIdentifierPermission(
90 int render_process_id, 91 int render_process_id,
91 int render_view_id, 92 int render_view_id,
92 int bridge_id, 93 int bridge_id,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // components/keyed_service/content/browser_context_keyed_service_factory.* 285 // components/keyed_service/content/browser_context_keyed_service_factory.*
285 286
286 Profile::Delegate* delegate_; 287 Profile::Delegate* delegate_;
287 288
288 chrome_browser_net::Predictor* predictor_; 289 chrome_browser_net::Predictor* predictor_;
289 290
290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
291 }; 292 };
292 293
293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 294 #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