Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Side by Side Diff: headless/lib/browser/headless_browser_impl.h

Issue 2708643003: headless: Add a dummy include for version.h (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 #include "headless/lib/browser/headless_devtools_manager_delegate.h" 17 #include "headless/lib/browser/headless_devtools_manager_delegate.h"
18 #include "headless/lib/browser/headless_web_contents_impl.h" 18 #include "headless/lib/browser/headless_web_contents_impl.h"
19 19
20 #if defined(USE_AURA) 20 #if defined(USE_AURA)
21 #include "headless/lib/browser/headless_window_tree_host.h" 21 #include "headless/lib/browser/headless_window_tree_host.h"
22 #endif 22 #endif
23 23
24 // Note: unused but needed to make sure this header gets generated.
25 #include "headless/public/version.h"
26
24 namespace headless { 27 namespace headless {
25 28
26 class HeadlessBrowserContextImpl; 29 class HeadlessBrowserContextImpl;
27 class HeadlessBrowserMainParts; 30 class HeadlessBrowserMainParts;
28 31
29 class HeadlessBrowserImpl : public HeadlessBrowser { 32 class HeadlessBrowserImpl : public HeadlessBrowser {
30 public: 33 public:
31 HeadlessBrowserImpl( 34 HeadlessBrowserImpl(
32 const base::Callback<void(HeadlessBrowser*)>& on_start_callback, 35 const base::Callback<void(HeadlessBrowser*)>& on_start_callback,
33 HeadlessBrowser::Options options); 36 HeadlessBrowser::Options options);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 95
93 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_; 96 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_;
94 97
95 private: 98 private:
96 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl); 99 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl);
97 }; 100 };
98 101
99 } // namespace headless 102 } // namespace headless
100 103
101 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ 104 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698