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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.h

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test merge Created 6 years, 8 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 47 virtual void RequestMidiSysExPermission(
48 int render_process_id, 48 int render_process_id,
49 int render_view_id, 49 int render_view_id,
50 int bridge_id, 50 int bridge_id,
51 const GURL& requesting_frame, 51 const GURL& requesting_frame,
52 bool user_gesture,
52 const MidiSysExPermissionCallback& callback) OVERRIDE; 53 const MidiSysExPermissionCallback& callback) OVERRIDE;
53 virtual void CancelMidiSysExPermissionRequest( 54 virtual void CancelMidiSysExPermissionRequest(
54 int render_process_id, 55 int render_process_id,
55 int render_view_id, 56 int render_view_id,
56 int bridge_id, 57 int bridge_id,
57 const GURL& requesting_frame) OVERRIDE; 58 const GURL& requesting_frame) OVERRIDE;
58 virtual void RequestProtectedMediaIdentifierPermission( 59 virtual void RequestProtectedMediaIdentifierPermission(
59 int render_process_id, 60 int render_process_id,
60 int render_view_id, 61 int render_view_id,
61 int bridge_id, 62 int bridge_id,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 115 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
115 virtual void SetExitType(ExitType exit_type) OVERRIDE; 116 virtual void SetExitType(ExitType exit_type) OVERRIDE;
116 virtual ExitType GetLastSessionExitType() OVERRIDE; 117 virtual ExitType GetLastSessionExitType() OVERRIDE;
117 118
118 private: 119 private:
119 std::string name_; 120 std::string name_;
120 base::FilePath path_; 121 base::FilePath path_;
121 }; 122 };
122 123
123 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 124 #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