| 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 "extensions/browser/api/cast_channel/cast_channel_api.h" | 5 #include "extensions/browser/api/cast_channel/cast_channel_api.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <limits> | 10 #include <limits> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <utility> | 13 #include <utility> |
| 14 #include <vector> |
| 14 | 15 |
| 15 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
| 16 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
| 17 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
| 18 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
| 19 #include "base/values.h" | 20 #include "base/values.h" |
| 20 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| 21 #include "extensions/browser/api/cast_channel/cast_message_util.h" | 22 #include "extensions/browser/api/cast_channel/cast_message_util.h" |
| 22 #include "extensions/browser/api/cast_channel/cast_socket.h" | 23 #include "extensions/browser/api/cast_channel/cast_socket.h" |
| 23 #include "extensions/browser/api/cast_channel/keep_alive_delegate.h" | 24 #include "extensions/browser/api/cast_channel/keep_alive_delegate.h" |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 BrowserThread::PostTask( | 512 BrowserThread::PostTask( |
| 512 BrowserThread::UI, FROM_HERE, | 513 BrowserThread::UI, FROM_HERE, |
| 513 base::Bind(ui_dispatch_cb_, socket_->owner_extension_id(), | 514 base::Bind(ui_dispatch_cb_, socket_->owner_extension_id(), |
| 514 base::Passed(std::move(event)))); | 515 base::Passed(std::move(event)))); |
| 515 } | 516 } |
| 516 | 517 |
| 517 void CastChannelOpenFunction::CastMessageHandler::Start() { | 518 void CastChannelOpenFunction::CastMessageHandler::Start() { |
| 518 } | 519 } |
| 519 | 520 |
| 520 } // namespace extensions | 521 } // namespace extensions |
| OLD | NEW |