| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "content/shell/browser/shell_browser_context.h" | 10 #include "content/shell/browser/shell_browser_context.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 BackgroundSyncController* GetBackgroundSyncController() override; | 34 BackgroundSyncController* GetBackgroundSyncController() override; |
| 35 | 35 |
| 36 LayoutTestPermissionManager* GetLayoutTestPermissionManager(); | 36 LayoutTestPermissionManager* GetLayoutTestPermissionManager(); |
| 37 | 37 |
| 38 protected: | 38 protected: |
| 39 ShellURLRequestContextGetter* CreateURLRequestContextGetter( | 39 ShellURLRequestContextGetter* CreateURLRequestContextGetter( |
| 40 ProtocolHandlerMap* protocol_handlers, | 40 ProtocolHandlerMap* protocol_handlers, |
| 41 URLRequestInterceptorScopedVector request_interceptors) override; | 41 URLRequestInterceptorScopedVector request_interceptors) override; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 scoped_ptr<LayoutTestPushMessagingService> push_messaging_service_; | 44 std::unique_ptr<LayoutTestPushMessagingService> push_messaging_service_; |
| 45 scoped_ptr<PermissionManager> permission_manager_; | 45 std::unique_ptr<PermissionManager> permission_manager_; |
| 46 scoped_ptr<BackgroundSyncController> background_sync_controller_; | 46 std::unique_ptr<BackgroundSyncController> background_sync_controller_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext); | 48 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace content | 51 } // namespace content |
| 52 | 52 |
| 53 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_ | 53 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_ |
| OLD | NEW |