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

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

Issue 2775693003: Fix missing HEADLESS_EXPORT defines (Closed)
Patch Set: Do not include changes in BUILD fiel Created 3 years, 9 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
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 #include "headless/public/headless_export.h"
19 20
20 #if defined(USE_AURA) 21 #if defined(USE_AURA)
21 #include "headless/lib/browser/headless_window_tree_host.h" 22 #include "headless/lib/browser/headless_window_tree_host.h"
22 23
23 namespace aura { 24 namespace aura {
24 namespace client { 25 namespace client {
25 class FocusClient; 26 class FocusClient;
26 } 27 }
27 } 28 }
28 #endif 29 #endif
29 30
30 namespace headless { 31 namespace headless {
31 32
32 class HeadlessBrowserContextImpl; 33 class HeadlessBrowserContextImpl;
33 class HeadlessBrowserMainParts; 34 class HeadlessBrowserMainParts;
34 35
35 class HeadlessBrowserImpl : public HeadlessBrowser { 36 class HEADLESS_EXPORT HeadlessBrowserImpl : public HeadlessBrowser {
Sami 2017/03/24 10:28:40 Are you sure this one is needed? The impl class sh
dvallet 2017/03/27 02:44:01 Done
36 public: 37 public:
37 HeadlessBrowserImpl( 38 HeadlessBrowserImpl(
38 const base::Callback<void(HeadlessBrowser*)>& on_start_callback, 39 const base::Callback<void(HeadlessBrowser*)>& on_start_callback,
39 HeadlessBrowser::Options options); 40 HeadlessBrowser::Options options);
40 ~HeadlessBrowserImpl() override; 41 ~HeadlessBrowserImpl() override;
41 42
42 // HeadlessBrowser implementation: 43 // HeadlessBrowser implementation:
43 HeadlessBrowserContext::Builder CreateBrowserContextBuilder() override; 44 HeadlessBrowserContext::Builder CreateBrowserContextBuilder() override;
44 scoped_refptr<base::SingleThreadTaskRunner> BrowserFileThread() 45 scoped_refptr<base::SingleThreadTaskRunner> BrowserFileThread()
45 const override; 46 const override;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 101
101 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_; 102 base::WeakPtrFactory<HeadlessBrowserImpl> weak_ptr_factory_;
102 103
103 private: 104 private:
104 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl); 105 DISALLOW_COPY_AND_ASSIGN(HeadlessBrowserImpl);
105 }; 106 };
106 107
107 } // namespace headless 108 } // namespace headless
108 109
109 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_ 110 #endif // HEADLESS_LIB_BROWSER_HEADLESS_BROWSER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698