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

Side by Side Diff: chromecast/browser/devtools/remote_debugging_server.h

Issue 2545733002: chromecast: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 5 #ifndef CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
6 #define CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 6 #define CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/prefs/pref_member.h" 13 #include "components/prefs/pref_member.h"
14 14
15 namespace chromecast { 15 namespace chromecast {
16 namespace shell { 16 namespace shell {
17 17
18 class CastDevToolsManagerDelegate;
19
20 class RemoteDebuggingServer { 18 class RemoteDebuggingServer {
21 public: 19 public:
22 explicit RemoteDebuggingServer(bool start_immediately); 20 explicit RemoteDebuggingServer(bool start_immediately);
23 ~RemoteDebuggingServer(); 21 ~RemoteDebuggingServer();
24 22
25 private: 23 private:
26 // Called when pref_enabled_ is changed. 24 // Called when pref_enabled_ is changed.
27 void OnEnabledChanged(); 25 void OnEnabledChanged();
28 BooleanPrefMember pref_enabled_; 26 BooleanPrefMember pref_enabled_;
29 uint16_t port_; 27 uint16_t port_;
30 bool is_started_; 28 bool is_started_;
31 29
32 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 30 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
33 }; 31 };
34 32
35 } // namespace shell 33 } // namespace shell
36 } // namespace chromecast 34 } // namespace chromecast
37 35
38 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 36 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
OLDNEW
« no previous file with comments | « chromecast/browser/cast_content_window.h ('k') | chromecast/browser/metrics/cast_stability_metrics_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698