OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 int renderer_child_id) OVERRIDE; | 40 int renderer_child_id) OVERRIDE; |
41 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 41 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
42 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 42 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
43 int renderer_child_id) OVERRIDE; | 43 int renderer_child_id) OVERRIDE; |
44 virtual net::URLRequestContextGetter* | 44 virtual net::URLRequestContextGetter* |
45 GetMediaRequestContextForStoragePartition( | 45 GetMediaRequestContextForStoragePartition( |
46 const base::FilePath& partition_path, | 46 const base::FilePath& partition_path, |
47 bool in_memory) OVERRIDE; | 47 bool in_memory) OVERRIDE; |
48 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 48 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
49 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 49 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
50 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 50 virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
51 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 51 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
52 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; | 52 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; |
53 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 53 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
54 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 54 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
55 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 55 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
56 virtual bool HasOffTheRecordProfile() OVERRIDE; | 56 virtual bool HasOffTheRecordProfile() OVERRIDE; |
57 virtual Profile* GetOriginalProfile() OVERRIDE; | 57 virtual Profile* GetOriginalProfile() OVERRIDE; |
58 virtual bool IsSupervised() OVERRIDE; | 58 virtual bool IsSupervised() OVERRIDE; |
59 virtual history::TopSites* GetTopSites() OVERRIDE; | 59 virtual history::TopSites* GetTopSites() OVERRIDE; |
60 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 60 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 96 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
97 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 97 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
98 virtual ExitType GetLastSessionExitType() OVERRIDE; | 98 virtual ExitType GetLastSessionExitType() OVERRIDE; |
99 | 99 |
100 private: | 100 private: |
101 std::string name_; | 101 std::string name_; |
102 base::FilePath path_; | 102 base::FilePath path_; |
103 }; | 103 }; |
104 | 104 |
105 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 105 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |