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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 18647002: Web MIDI: add RequestMIDISysExPermission to BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for commit 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 | « chrome/browser/profiles/profile_impl.cc ('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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 225 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
226 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 226 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
227 int renderer_child_id) OVERRIDE; 227 int renderer_child_id) OVERRIDE;
228 virtual net::URLRequestContextGetter* 228 virtual net::URLRequestContextGetter*
229 GetRequestContextForExtensions() OVERRIDE; 229 GetRequestContextForExtensions() OVERRIDE;
230 virtual net::URLRequestContextGetter* 230 virtual net::URLRequestContextGetter*
231 GetMediaRequestContextForStoragePartition( 231 GetMediaRequestContextForStoragePartition(
232 const base::FilePath& partition_path, 232 const base::FilePath& partition_path,
233 bool in_memory) OVERRIDE; 233 bool in_memory) OVERRIDE;
234 virtual void RequestMIDISysExPermission(
235 int render_process_id,
236 int render_view_id,
237 const GURL& requesting_frame,
238 const MIDISysExPermissionCallback& callback) OVERRIDE;
234 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 239 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
235 const base::FilePath& partition_path, 240 const base::FilePath& partition_path,
236 bool in_memory, 241 bool in_memory,
237 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 242 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
238 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 243 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
239 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 244 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
240 virtual std::wstring GetName(); 245 virtual std::wstring GetName();
241 virtual void SetName(const std::wstring& name) {} 246 virtual void SetName(const std::wstring& name) {}
242 virtual std::wstring GetID(); 247 virtual std::wstring GetID();
243 virtual void SetID(const std::wstring& id); 248 virtual void SetID(const std::wstring& id);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 350
346 scoped_ptr<content::MockResourceContext> resource_context_; 351 scoped_ptr<content::MockResourceContext> resource_context_;
347 352
348 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 353 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
349 354
350 // Weak pointer to a delegate for indicating that a profile was created. 355 // Weak pointer to a delegate for indicating that a profile was created.
351 Delegate* delegate_; 356 Delegate* delegate_;
352 }; 357 };
353 358
354 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 359 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698