| 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 30 matching lines...) Expand all Loading... |
| 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 content::ResourceContext* GetResourceContext() OVERRIDE; | 47 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 48 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 48 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 49 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 49 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 50 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 50 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 51 virtual gcm::GCMPermissionContext* GetPushMessagingPermissionContext() |
| 52 OVERRIDE; |
| 51 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 53 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
| 52 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 54 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| 53 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 55 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
| 54 virtual bool HasOffTheRecordProfile() OVERRIDE; | 56 virtual bool HasOffTheRecordProfile() OVERRIDE; |
| 55 virtual Profile* GetOriginalProfile() OVERRIDE; | 57 virtual Profile* GetOriginalProfile() OVERRIDE; |
| 56 virtual bool IsSupervised() OVERRIDE; | 58 virtual bool IsSupervised() OVERRIDE; |
| 57 virtual history::TopSites* GetTopSites() OVERRIDE; | 59 virtual history::TopSites* GetTopSites() OVERRIDE; |
| 58 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 60 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
| 59 virtual ExtensionService* GetExtensionService() OVERRIDE; | 61 virtual ExtensionService* GetExtensionService() OVERRIDE; |
| 60 virtual ExtensionSpecialStoragePolicy* | 62 virtual ExtensionSpecialStoragePolicy* |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 100 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 99 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 101 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 100 virtual ExitType GetLastSessionExitType() OVERRIDE; | 102 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 101 | 103 |
| 102 private: | 104 private: |
| 103 std::string name_; | 105 std::string name_; |
| 104 base::FilePath path_; | 106 base::FilePath path_; |
| 105 }; | 107 }; |
| 106 | 108 |
| 107 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 109 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
| OLD | NEW |