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

Side by Side Diff: chrome/browser/profiles/off_the_record_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 #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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 int renderer_child_id) OVERRIDE; 95 int renderer_child_id) OVERRIDE;
96 virtual net::URLRequestContextGetter* 96 virtual net::URLRequestContextGetter*
97 GetMediaRequestContextForStoragePartition( 97 GetMediaRequestContextForStoragePartition(
98 const base::FilePath& partition_path, 98 const base::FilePath& partition_path,
99 bool in_memory) OVERRIDE; 99 bool in_memory) OVERRIDE;
100 virtual void RequestMidiSysExPermission( 100 virtual void RequestMidiSysExPermission(
101 int render_process_id, 101 int render_process_id,
102 int render_view_id, 102 int render_view_id,
103 int bridge_id, 103 int bridge_id,
104 const GURL& requesting_frame, 104 const GURL& requesting_frame,
105 bool user_gesture,
105 const MidiSysExPermissionCallback& callback) OVERRIDE; 106 const MidiSysExPermissionCallback& callback) OVERRIDE;
106 virtual void CancelMidiSysExPermissionRequest( 107 virtual void CancelMidiSysExPermissionRequest(
107 int render_process_id, 108 int render_process_id,
108 int render_view_id, 109 int render_view_id,
109 int bridge_id, 110 int bridge_id,
110 const GURL& requesting_frame) OVERRIDE; 111 const GURL& requesting_frame) OVERRIDE;
111 virtual void RequestProtectedMediaIdentifierPermission( 112 virtual void RequestProtectedMediaIdentifierPermission(
112 int render_process_id, 113 int render_process_id,
113 int render_view_id, 114 int render_view_id,
114 int bridge_id, 115 int bridge_id,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 base::FilePath last_selected_directory_; 151 base::FilePath last_selected_directory_;
151 152
152 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 153 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
153 154
154 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 155 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
155 156
156 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 157 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
157 }; 158 };
158 159
159 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 160 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698