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_HEADLESS_CONTENT_MAIN_DELEGATE_H_ | 5 #ifndef HEADLESS_LIB_HEADLESS_CONTENT_MAIN_DELEGATE_H_ |
6 #define HEADLESS_LIB_HEADLESS_CONTENT_MAIN_DELEGATE_H_ | 6 #define HEADLESS_LIB_HEADLESS_CONTENT_MAIN_DELEGATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
| 9 #include <string> |
9 | 10 |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "content/public/app/content_main_delegate.h" | 13 #include "content/public/app/content_main_delegate.h" |
13 #include "headless/lib/browser/headless_platform_event_source.h" | 14 #include "headless/lib/browser/headless_platform_event_source.h" |
14 #include "headless/lib/headless_content_client.h" | 15 #include "headless/lib/headless_content_client.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class CommandLine; | 18 class CommandLine; |
18 } | 19 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 HeadlessPlatformEventSource platform_event_source_; | 53 HeadlessPlatformEventSource platform_event_source_; |
53 | 54 |
54 std::unique_ptr<HeadlessBrowserImpl> browser_; | 55 std::unique_ptr<HeadlessBrowserImpl> browser_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(HeadlessContentMainDelegate); | 57 DISALLOW_COPY_AND_ASSIGN(HeadlessContentMainDelegate); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace headless | 60 } // namespace headless |
60 | 61 |
61 #endif // HEADLESS_LIB_HEADLESS_CONTENT_MAIN_DELEGATE_H_ | 62 #endif // HEADLESS_LIB_HEADLESS_CONTENT_MAIN_DELEGATE_H_ |
OLD | NEW |