OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ | 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ |
6 #define HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ | 6 #define HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ |
7 | 7 |
8 #include "headless/public/headless_browser.h" | 8 #include "headless/public/headless_browser.h" |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/single_thread_task_runner.h" |
16 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
17 #include "headless/lib/browser/headless_devtools_manager_delegate.h" | 18 #include "headless/lib/browser/headless_devtools_manager_delegate.h" |
18 #include "headless/lib/browser/headless_web_contents_impl.h" | 19 #include "headless/lib/browser/headless_web_contents_impl.h" |
19 #include "headless/public/headless_export.h" | 20 #include "headless/public/headless_export.h" |
20 | 21 |
21 namespace headless { | 22 namespace headless { |
22 | 23 |
23 class HeadlessBrowserContextImpl; | 24 class HeadlessBrowserContextImpl; |
24 class HeadlessBrowserMainParts; | 25 class HeadlessBrowserMainParts; |
25 | 26 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 95 |
95 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_; | 96 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_; |
96 | 97 |
97 private: | 98 private: |
98 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl); | 99 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace headless | 102 } // namespace headless |
102 | 103 |
103 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ | 104 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ |
OLD | NEW |