OLD | NEW |
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 #include "chrome/browser/devtools/device/webrtc/devtools_bridge_client.h" | 5 #include "chrome/browser/devtools/device/webrtc/devtools_bridge_client.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/callback.h" | 9 #include "base/callback.h" |
8 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
9 #include "chrome/browser/local_discovery/gcd_api_flow.h" | 11 #include "chrome/browser/local_discovery/gcd_api_flow.h" |
10 #include "chrome/common/url_constants.h" | 12 #include "chrome/common/url_constants.h" |
11 #include "components/signin/core/browser/profile_identity_provider.h" | 13 #include "components/signin/core/browser/profile_identity_provider.h" |
12 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
14 #include "content/public/browser/notification_source.h" | 16 #include "content/public/browser/notification_source.h" |
15 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
16 #include "content/public/browser/web_contents_observer.h" | 18 #include "content/public/browser/web_contents_observer.h" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 258 |
257 browser_list_request_.reset(); | 259 browser_list_request_.reset(); |
258 | 260 |
259 OnBrowserListUpdatedForTests(); | 261 OnBrowserListUpdatedForTests(); |
260 } | 262 } |
261 | 263 |
262 void DevToolsBridgeClient::OnDevToolsBridgeInstancesRequestFailed() { | 264 void DevToolsBridgeClient::OnDevToolsBridgeInstancesRequestFailed() { |
263 // We keep the list of remote browsers even if the request failed. | 265 // We keep the list of remote browsers even if the request failed. |
264 browser_list_request_.reset(); | 266 browser_list_request_.reset(); |
265 } | 267 } |
OLD | NEW |