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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
(...skipping 26 matching lines...) Expand all
37 GetDownloadManagerDelegate() OVERRIDE; 37 GetDownloadManagerDelegate() OVERRIDE;
38 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 38 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
39 int renderer_child_id) OVERRIDE; 39 int renderer_child_id) OVERRIDE;
40 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 40 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
41 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 41 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
42 int renderer_child_id) OVERRIDE; 42 int renderer_child_id) OVERRIDE;
43 virtual net::URLRequestContextGetter* 43 virtual net::URLRequestContextGetter*
44 GetMediaRequestContextForStoragePartition( 44 GetMediaRequestContextForStoragePartition(
45 const base::FilePath& partition_path, 45 const base::FilePath& partition_path,
46 bool in_memory) OVERRIDE; 46 bool in_memory) OVERRIDE;
47 virtual void RequestMidiSysExPermission(
48 int render_process_id,
49 int render_view_id,
50 int bridge_id,
51 const GURL& requesting_frame,
52 bool user_gesture,
53 const MidiSysExPermissionCallback& callback) OVERRIDE;
54 virtual void CancelMidiSysExPermissionRequest(
55 int render_process_id,
56 int render_view_id,
57 int bridge_id,
58 const GURL& requesting_frame) OVERRIDE;
59 virtual void RequestProtectedMediaIdentifierPermission( 47 virtual void RequestProtectedMediaIdentifierPermission(
60 int render_process_id, 48 int render_process_id,
61 int render_view_id, 49 int render_view_id,
62 const GURL& origin, 50 const GURL& origin,
63 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 51 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
64 virtual void CancelProtectedMediaIdentifierPermissionRequests( 52 virtual void CancelProtectedMediaIdentifierPermissionRequests(
65 int render_process_id, 53 int render_process_id,
66 int render_view_id, 54 int render_view_id,
67 const GURL& origin) OVERRIDE; 55 const GURL& origin) OVERRIDE;
68 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 56 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 107 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
120 virtual void SetExitType(ExitType exit_type) OVERRIDE; 108 virtual void SetExitType(ExitType exit_type) OVERRIDE;
121 virtual ExitType GetLastSessionExitType() OVERRIDE; 109 virtual ExitType GetLastSessionExitType() OVERRIDE;
122 110
123 private: 111 private:
124 std::string name_; 112 std::string name_;
125 base::FilePath path_; 113 base::FilePath path_;
126 }; 114 };
127 115
128 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 116 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/ui/app_list/test/fake_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698