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

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: fix android build 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
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 int client_id,
238 const GURL& requesting_frame,
239 const MIDISysExPermissionCallback& callback) OVERRIDE;
234 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 240 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
235 const base::FilePath& partition_path, 241 const base::FilePath& partition_path,
236 bool in_memory, 242 bool in_memory,
237 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 243 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
238 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 244 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
239 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 245 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
240 virtual std::wstring GetName(); 246 virtual std::wstring GetName();
241 virtual void SetName(const std::wstring& name) {} 247 virtual void SetName(const std::wstring& name) {}
242 virtual std::wstring GetID(); 248 virtual std::wstring GetID();
243 virtual void SetID(const std::wstring& id); 249 virtual void SetID(const std::wstring& id);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 351
346 scoped_ptr<content::MockResourceContext> resource_context_; 352 scoped_ptr<content::MockResourceContext> resource_context_;
347 353
348 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 354 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
349 355
350 // Weak pointer to a delegate for indicating that a profile was created. 356 // Weak pointer to a delegate for indicating that a profile was created.
351 Delegate* delegate_; 357 Delegate* delegate_;
352 }; 358 };
353 359
354 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 360 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698