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

Side by Side Diff: chrome/browser/profiles/profile_impl.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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 67 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
68 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 68 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
69 int renderer_child_id) OVERRIDE; 69 int renderer_child_id) OVERRIDE;
70 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 70 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
71 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 71 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
72 int renderer_child_id) OVERRIDE; 72 int renderer_child_id) OVERRIDE;
73 virtual net::URLRequestContextGetter* 73 virtual net::URLRequestContextGetter*
74 GetMediaRequestContextForStoragePartition( 74 GetMediaRequestContextForStoragePartition(
75 const base::FilePath& partition_path, 75 const base::FilePath& partition_path,
76 bool in_memory) OVERRIDE; 76 bool in_memory) OVERRIDE;
77 virtual void RequestMIDISysExPermission(
78 int render_process_id,
79 int render_view_id,
80 int client_id,
81 const GURL& requesting_frame,
82 const MIDISysExPermissionCallback& callback) OVERRIDE;
77 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 83 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
78 virtual content::GeolocationPermissionContext* 84 virtual content::GeolocationPermissionContext*
79 GetGeolocationPermissionContext() OVERRIDE; 85 GetGeolocationPermissionContext() OVERRIDE;
80 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 86 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
81 87
82 // Profile implementation: 88 // Profile implementation:
83 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; 89 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE;
84 // Note that this implementation returns the Google-services username, if any, 90 // Note that this implementation returns the Google-services username, if any,
85 // not the Chrome user's display name. 91 // not the Chrome user's display name.
86 virtual std::string GetProfileName() OVERRIDE; 92 virtual std::string GetProfileName() OVERRIDE;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc} 267 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc}
262 268
263 Profile::Delegate* delegate_; 269 Profile::Delegate* delegate_;
264 270
265 chrome_browser_net::Predictor* predictor_; 271 chrome_browser_net::Predictor* predictor_;
266 272
267 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
268 }; 274 };
269 275
270 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698