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

Side by Side Diff: chrome/browser/devtools/device/port_forwarding_controller.h

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 CHROME_BROWSER_DEVTOOLS_DEVICE_PORT_FORWARDING_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_PORT_FORWARDING_CONTROLLER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_PORT_FORWARDING_CONTROLLER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_PORT_FORWARDING_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/prefs/pref_change_registrar.h"
12 #include "chrome/browser/devtools/device/devtools_android_bridge.h" 11 #include "chrome/browser/devtools/device/devtools_android_bridge.h"
13 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 12 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
14 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/prefs/pref_change_registrar.h"
15 15
16 class PrefService; 16 class PrefService;
17 class Profile; 17 class Profile;
18 18
19 class PortForwardingController { 19 class PortForwardingController {
20 public: 20 public:
21 typedef DevToolsAndroidBridge::PortStatus PortStatus; 21 typedef DevToolsAndroidBridge::PortStatus PortStatus;
22 typedef DevToolsAndroidBridge::PortStatusMap PortStatusMap; 22 typedef DevToolsAndroidBridge::PortStatusMap PortStatusMap;
23 typedef DevToolsAndroidBridge::BrowserStatus BrowserStatus; 23 typedef DevToolsAndroidBridge::BrowserStatus BrowserStatus;
24 typedef DevToolsAndroidBridge::ForwardingStatus ForwardingStatus; 24 typedef DevToolsAndroidBridge::ForwardingStatus ForwardingStatus;
(...skipping 18 matching lines...) Expand all
43 PrefChangeRegistrar pref_change_registrar_; 43 PrefChangeRegistrar pref_change_registrar_;
44 Registry registry_; 44 Registry registry_;
45 45
46 typedef std::map<int, std::string> ForwardingMap; 46 typedef std::map<int, std::string> ForwardingMap;
47 ForwardingMap forwarding_map_; 47 ForwardingMap forwarding_map_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(PortForwardingController); 49 DISALLOW_COPY_AND_ASSIGN(PortForwardingController);
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_PORT_FORWARDING_CONTROLLER_H_ 52 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_PORT_FORWARDING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698