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

Side by Side Diff: blimp/client/session/blimp_client_session.h

Issue 1810213009: blimp: Add settings to allow the client to download the whole page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@record_full_document
Patch Set: Use ContentBrowserClient to override prefs. Created 4 years, 8 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 | « blimp/client/feature/settings_feature.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | 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 BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 5 #ifndef BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
6 #define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 6 #define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 16 matching lines...) Expand all
27 class BrowserConnectionHandler; 27 class BrowserConnectionHandler;
28 class ClientConnectionManager; 28 class ClientConnectionManager;
29 class ThreadPipeManager; 29 class ThreadPipeManager;
30 30
31 namespace client { 31 namespace client {
32 32
33 class ClientNetworkComponents; 33 class ClientNetworkComponents;
34 class NavigationFeature; 34 class NavigationFeature;
35 class ImeFeature; 35 class ImeFeature;
36 class RenderWidgetFeature; 36 class RenderWidgetFeature;
37 class SettingsFeature;
37 class TabControlFeature; 38 class TabControlFeature;
38 39
39 class NetworkEventObserver { 40 class NetworkEventObserver {
40 public: 41 public:
41 NetworkEventObserver() {} 42 NetworkEventObserver() {}
42 virtual ~NetworkEventObserver() {} 43 virtual ~NetworkEventObserver() {}
43 44
44 virtual void OnConnected() = 0; 45 virtual void OnConnected() = 0;
45 virtual void OnDisconnected(int result) = 0; 46 virtual void OnDisconnected(int result) = 0;
46 }; 47 };
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 87
87 // NetworkEventObserver implementation. 88 // NetworkEventObserver implementation.
88 void OnConnected() override; 89 void OnConnected() override;
89 void OnDisconnected(int result) override; 90 void OnDisconnected(int result) override;
90 91
91 base::Thread io_thread_; 92 base::Thread io_thread_;
92 scoped_ptr<TabControlFeature> tab_control_feature_; 93 scoped_ptr<TabControlFeature> tab_control_feature_;
93 scoped_ptr<NavigationFeature> navigation_feature_; 94 scoped_ptr<NavigationFeature> navigation_feature_;
94 scoped_ptr<ImeFeature> ime_feature_; 95 scoped_ptr<ImeFeature> ime_feature_;
95 scoped_ptr<RenderWidgetFeature> render_widget_feature_; 96 scoped_ptr<RenderWidgetFeature> render_widget_feature_;
97 scoped_ptr<SettingsFeature> settings_feature_;
96 98
97 // The AssignmentSource is used when the user of BlimpClientSession calls 99 // The AssignmentSource is used when the user of BlimpClientSession calls
98 // Connect() to get a valid assignment and later connect to the engine. 100 // Connect() to get a valid assignment and later connect to the engine.
99 scoped_ptr<AssignmentSource> assignment_source_; 101 scoped_ptr<AssignmentSource> assignment_source_;
100 102
101 // Container struct for network components. 103 // Container struct for network components.
102 // Must be deleted on the IO thread. 104 // Must be deleted on the IO thread.
103 scoped_ptr<ClientNetworkComponents> net_components_; 105 scoped_ptr<ClientNetworkComponents> net_components_;
104 106
105 scoped_ptr<ThreadPipeManager> thread_pipe_manager_; 107 scoped_ptr<ThreadPipeManager> thread_pipe_manager_;
106 108
107 base::WeakPtrFactory<BlimpClientSession> weak_factory_; 109 base::WeakPtrFactory<BlimpClientSession> weak_factory_;
108 110
109 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession); 111 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession);
110 }; 112 };
111 113
112 } // namespace client 114 } // namespace client
113 } // namespace blimp 115 } // namespace blimp
114 116
115 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_ 117 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « blimp/client/feature/settings_feature.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698