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

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: try 2 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int renderer_child_id) OVERRIDE; 72 int renderer_child_id) OVERRIDE;
73 virtual net::URLRequestContextGetter* 73 virtual net::URLRequestContextGetter*
74 GetMediaRequestContextForStoragePartition( 74 GetMediaRequestContextForStoragePartition(
75 const base::FilePath& partition_path, 75 const base::FilePath& partition_path,
76 bool in_memory) OVERRIDE; 76 bool in_memory) OVERRIDE;
77 virtual void RequestMidiSysExPermission( 77 virtual void RequestMidiSysExPermission(
78 int render_process_id, 78 int render_process_id,
79 int render_view_id, 79 int render_view_id,
80 int bridge_id, 80 int bridge_id,
81 const GURL& requesting_frame, 81 const GURL& requesting_frame,
82 bool user_gesture,
82 const MidiSysExPermissionCallback& callback) OVERRIDE; 83 const MidiSysExPermissionCallback& callback) OVERRIDE;
83 virtual void CancelMidiSysExPermissionRequest( 84 virtual void CancelMidiSysExPermissionRequest(
84 int render_process_id, 85 int render_process_id,
85 int render_view_id, 86 int render_view_id,
86 int bridge_id, 87 int bridge_id,
87 const GURL& requesting_frame) OVERRIDE; 88 const GURL& requesting_frame) OVERRIDE;
88 virtual void RequestProtectedMediaIdentifierPermission( 89 virtual void RequestProtectedMediaIdentifierPermission(
89 int render_process_id, 90 int render_process_id,
90 int render_view_id, 91 int render_view_id,
91 int bridge_id, 92 int bridge_id,
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc} 281 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc}
281 282
282 Profile::Delegate* delegate_; 283 Profile::Delegate* delegate_;
283 284
284 chrome_browser_net::Predictor* predictor_; 285 chrome_browser_net::Predictor* predictor_;
285 286
286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 287 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
287 }; 288 };
288 289
289 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 290 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698