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

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 19980004: Web MIDI: add kDumpRenderTree flag check to ShellBrowserContext::RequestMIDI... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « no previous file | chrome/browser/profiles/profile_impl.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 #include "chrome/browser/profiles/off_the_record_profile_impl.h" 5 #include "chrome/browser/profiles/off_the_record_profile_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 bool in_memory) { 279 bool in_memory) {
280 return io_data_.GetIsolatedAppRequestContextGetter(partition_path, in_memory) 280 return io_data_.GetIsolatedAppRequestContextGetter(partition_path, in_memory)
281 .get(); 281 .get();
282 } 282 }
283 283
284 void OffTheRecordProfileImpl::RequestMIDISysExPermission( 284 void OffTheRecordProfileImpl::RequestMIDISysExPermission(
285 int render_process_id, 285 int render_process_id,
286 int render_view_id, 286 int render_view_id,
287 const GURL& requesting_frame, 287 const GURL& requesting_frame,
288 const MIDISysExPermissionCallback& callback) { 288 const MIDISysExPermissionCallback& callback) {
289 // TODO(toyoshim): Implement. 289 // TODO(toyoshim): Implement. http://crbug.com/257618 .
290 callback.Run(false); 290 callback.Run(false);
291 } 291 }
292 292
293 net::URLRequestContextGetter* 293 net::URLRequestContextGetter*
294 OffTheRecordProfileImpl::GetRequestContextForExtensions() { 294 OffTheRecordProfileImpl::GetRequestContextForExtensions() {
295 return io_data_.GetExtensionsRequestContextGetter().get(); 295 return io_data_.GetExtensionsRequestContextGetter().get();
296 } 296 }
297 297
298 net::URLRequestContextGetter* 298 net::URLRequestContextGetter*
299 OffTheRecordProfileImpl::CreateRequestContextForStoragePartition( 299 OffTheRecordProfileImpl::CreateRequestContextForStoragePartition(
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 #if defined(OS_CHROMEOS) 479 #if defined(OS_CHROMEOS)
480 if (chromeos::ProfileHelper::IsSigninProfile(this)) { 480 if (chromeos::ProfileHelper::IsSigninProfile(this)) {
481 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( 481 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState(
482 g_browser_process->local_state()); 482 g_browser_process->local_state());
483 } 483 }
484 #endif // defined(OS_CHROMEOS) 484 #endif // defined(OS_CHROMEOS)
485 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( 485 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile(
486 GetPrefs(), g_browser_process->local_state()); 486 GetPrefs(), g_browser_process->local_state());
487 } 487 }
488 488
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698