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

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

Issue 2706073003: Revert of 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
27 namespace headless { 24 namespace headless {
28 25
29 class HeadlessBrowserContextImpl; 26 class HeadlessBrowserContextImpl;
30 class HeadlessBrowserMainParts; 27 class HeadlessBrowserMainParts;
31 28
32 class HeadlessBrowserImpl : public HeadlessBrowser { 29 class HeadlessBrowserImpl : public HeadlessBrowser {
33 public: 30 public:
34 HeadlessBrowserImpl( 31 HeadlessBrowserImpl(
35 const base::Callback<void(HeadlessBrowser*)>& on_start_callback, 32 const base::Callback<void(HeadlessBrowser*)>& on_start_callback,
36 HeadlessBrowser::Options options); 33 HeadlessBrowser::Options options);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 92
96 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_; 93 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_;
97 94
98 private: 95 private:
99 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl); 96 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl);
100 }; 97 };
101 98
102 } // namespace headless 99 } // namespace headless
103 100
104 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ 101 #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