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

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

Issue 1560263002: Store Bluetooth permissions in website settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modified ChooserPermissionManager to take url::Origin as parameter Created 4 years, 11 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 47 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
48 const base::FilePath& partition_path, 48 const base::FilePath& partition_path,
49 bool in_memory) override; 49 bool in_memory) override;
50 content::ResourceContext* GetResourceContext() override; 50 content::ResourceContext* GetResourceContext() override;
51 content::BrowserPluginGuestManager* GetGuestManager() override; 51 content::BrowserPluginGuestManager* GetGuestManager() override;
52 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 52 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
53 content::PushMessagingService* GetPushMessagingService() override; 53 content::PushMessagingService* GetPushMessagingService() override;
54 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 54 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
55 content::PermissionManager* GetPermissionManager() override; 55 content::PermissionManager* GetPermissionManager() override;
56 content::BackgroundSyncController* GetBackgroundSyncController() override; 56 content::BackgroundSyncController* GetBackgroundSyncController() override;
57 content::ChooserPermissionManager* GetChooserPermissionManager() override;
57 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; 58 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override;
58 Profile* GetOffTheRecordProfile() override; 59 Profile* GetOffTheRecordProfile() override;
59 void DestroyOffTheRecordProfile() override; 60 void DestroyOffTheRecordProfile() override;
60 bool HasOffTheRecordProfile() override; 61 bool HasOffTheRecordProfile() override;
61 Profile* GetOriginalProfile() override; 62 Profile* GetOriginalProfile() override;
62 bool IsSupervised() const override; 63 bool IsSupervised() const override;
63 bool IsChild() const override; 64 bool IsChild() const override;
64 bool IsLegacySupervised() const override; 65 bool IsLegacySupervised() const override;
65 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 66 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
66 PrefService* GetPrefs() override; 67 PrefService* GetPrefs() override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 bool WasCreatedByVersionOrLater(const std::string& version) override; 100 bool WasCreatedByVersionOrLater(const std::string& version) override;
100 void SetExitType(ExitType exit_type) override; 101 void SetExitType(ExitType exit_type) override;
101 ExitType GetLastSessionExitType() override; 102 ExitType GetLastSessionExitType() override;
102 103
103 private: 104 private:
104 std::string name_; 105 std::string name_;
105 base::FilePath path_; 106 base::FilePath path_;
106 }; 107 };
107 108
108 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 109 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698