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

Side by Side Diff: chrome/test/base/testing_profile.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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 268 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
269 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 269 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
270 int renderer_child_id) OVERRIDE; 270 int renderer_child_id) OVERRIDE;
271 virtual net::URLRequestContextGetter* 271 virtual net::URLRequestContextGetter*
272 GetRequestContextForExtensions() OVERRIDE; 272 GetRequestContextForExtensions() OVERRIDE;
273 virtual net::URLRequestContextGetter* 273 virtual net::URLRequestContextGetter*
274 GetMediaRequestContextForStoragePartition( 274 GetMediaRequestContextForStoragePartition(
275 const base::FilePath& partition_path, 275 const base::FilePath& partition_path,
276 bool in_memory) OVERRIDE; 276 bool in_memory) OVERRIDE;
277 virtual void RequestMidiSysExPermission(
278 int render_process_id,
279 int render_view_id,
280 int bridge_id,
281 const GURL& requesting_frame,
282 bool user_gesture,
283 const MidiSysExPermissionCallback& callback) OVERRIDE;
284 virtual void CancelMidiSysExPermissionRequest(
285 int render_process_id,
286 int render_view_id,
287 int bridge_id,
288 const GURL& requesting_frame) OVERRIDE;
289 virtual void RequestProtectedMediaIdentifierPermission( 277 virtual void RequestProtectedMediaIdentifierPermission(
290 int render_process_id, 278 int render_process_id,
291 int render_view_id, 279 int render_view_id,
292 const GURL& origin, 280 const GURL& origin,
293 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 281 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
294 virtual void CancelProtectedMediaIdentifierPermissionRequests( 282 virtual void CancelProtectedMediaIdentifierPermissionRequests(
295 int render_process_id, 283 int render_process_id,
296 int render_view_id, 284 int render_view_id,
297 const GURL& origin) OVERRIDE; 285 const GURL& origin) OVERRIDE;
298 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 286 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 408
421 // Weak pointer to a delegate for indicating that a profile was created. 409 // Weak pointer to a delegate for indicating that a profile was created.
422 Delegate* delegate_; 410 Delegate* delegate_;
423 411
424 std::string profile_name_; 412 std::string profile_name_;
425 413
426 scoped_ptr<policy::PolicyService> policy_service_; 414 scoped_ptr<policy::PolicyService> policy_service_;
427 }; 415 };
428 416
429 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 417 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698