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

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: Fix test merge Created 6 years, 8 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 int renderer_child_id) OVERRIDE; 98 int renderer_child_id) OVERRIDE;
99 virtual net::URLRequestContextGetter* 99 virtual net::URLRequestContextGetter*
100 GetMediaRequestContextForStoragePartition( 100 GetMediaRequestContextForStoragePartition(
101 const base::FilePath& partition_path, 101 const base::FilePath& partition_path,
102 bool in_memory) OVERRIDE; 102 bool in_memory) OVERRIDE;
103 virtual void RequestMidiSysExPermission( 103 virtual void RequestMidiSysExPermission(
104 int render_process_id, 104 int render_process_id,
105 int render_view_id, 105 int render_view_id,
106 int bridge_id, 106 int bridge_id,
107 const GURL& requesting_frame, 107 const GURL& requesting_frame,
108 bool user_gesture,
108 const MidiSysExPermissionCallback& callback) OVERRIDE; 109 const MidiSysExPermissionCallback& callback) OVERRIDE;
109 virtual void CancelMidiSysExPermissionRequest( 110 virtual void CancelMidiSysExPermissionRequest(
110 int render_process_id, 111 int render_process_id,
111 int render_view_id, 112 int render_view_id,
112 int bridge_id, 113 int bridge_id,
113 const GURL& requesting_frame) OVERRIDE; 114 const GURL& requesting_frame) OVERRIDE;
114 virtual void RequestProtectedMediaIdentifierPermission( 115 virtual void RequestProtectedMediaIdentifierPermission(
115 int render_process_id, 116 int render_process_id,
116 int render_view_id, 117 int render_view_id,
117 int bridge_id, 118 int bridge_id,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 base::FilePath last_selected_directory_; 155 base::FilePath last_selected_directory_;
155 156
156 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 157 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
157 158
158 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 159 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
159 160
160 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 161 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
161 }; 162 };
162 163
163 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 164 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_browsertest.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