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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 years, 7 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 int render_view_id, 61 int render_view_id,
62 int bridge_id, 62 int bridge_id,
63 int group_id, 63 int group_id,
64 const GURL& requesting_frame, 64 const GURL& requesting_frame,
65 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 65 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
66 virtual void CancelProtectedMediaIdentifierPermissionRequests( 66 virtual void CancelProtectedMediaIdentifierPermissionRequests(
67 int group_id) OVERRIDE; 67 int group_id) OVERRIDE;
68 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 68 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
69 virtual content::GeolocationPermissionContext* 69 virtual content::GeolocationPermissionContext*
70 GetGeolocationPermissionContext() OVERRIDE; 70 GetGeolocationPermissionContext() OVERRIDE;
71 virtual content::BrowserPluginGuestManagerDelegate*
72 GetGuestManagerDelegate() OVERRIDE;
71 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 73 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
72 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; 74 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE;
73 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 75 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
74 virtual void DestroyOffTheRecordProfile() OVERRIDE; 76 virtual void DestroyOffTheRecordProfile() OVERRIDE;
75 virtual bool HasOffTheRecordProfile() OVERRIDE; 77 virtual bool HasOffTheRecordProfile() OVERRIDE;
76 virtual Profile* GetOriginalProfile() OVERRIDE; 78 virtual Profile* GetOriginalProfile() OVERRIDE;
77 virtual bool IsManaged() OVERRIDE; 79 virtual bool IsManaged() OVERRIDE;
78 virtual history::TopSites* GetTopSites() OVERRIDE; 80 virtual history::TopSites* GetTopSites() OVERRIDE;
79 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
80 virtual ExtensionService* GetExtensionService() OVERRIDE; 82 virtual ExtensionService* GetExtensionService() OVERRIDE;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 117 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
116 virtual void SetExitType(ExitType exit_type) OVERRIDE; 118 virtual void SetExitType(ExitType exit_type) OVERRIDE;
117 virtual ExitType GetLastSessionExitType() OVERRIDE; 119 virtual ExitType GetLastSessionExitType() OVERRIDE;
118 120
119 private: 121 private:
120 std::string name_; 122 std::string name_;
121 base::FilePath path_; 123 base::FilePath path_;
122 }; 124 };
123 125
124 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 126 #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