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

Side by Side Diff: content/browser/devtools/tethering_handler.cc

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/devtools/tethering_handler.h" 5 #include "content/browser/devtools/tethering_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/message_loop/message_loop_proxy.h"
9 #include "base/stl_util.h" 10 #include "base/stl_util.h"
10 #include "base/values.h" 11 #include "base/values.h"
11 #include "content/browser/devtools/devtools_http_handler_impl.h" 12 #include "content/browser/devtools/devtools_http_handler_impl.h"
12 #include "content/browser/devtools/devtools_protocol_constants.h" 13 #include "content/browser/devtools/devtools_protocol_constants.h"
13 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/devtools_http_handler_delegate.h" 15 #include "content/public/browser/devtools_http_handler_delegate.h"
15 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
16 #include "net/base/ip_endpoint.h" 17 #include "net/base/ip_endpoint.h"
17 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
18 #include "net/base/net_log.h" 19 #include "net/base/net_log.h"
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 SendAsyncResponse(command->SuccessResponse(nullptr)); 435 SendAsyncResponse(command->SuccessResponse(nullptr));
435 } 436 }
436 437
437 void TetheringHandler::SendInternalError( 438 void TetheringHandler::SendInternalError(
438 scoped_refptr<DevToolsProtocol::Command> command, 439 scoped_refptr<DevToolsProtocol::Command> command,
439 const std::string& message) { 440 const std::string& message) {
440 SendAsyncResponse(command->InternalErrorResponse(message)); 441 SendAsyncResponse(command->InternalErrorResponse(message));
441 } 442 }
442 443
443 } // namespace content 444 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/tethering_handler.h ('k') | net/disk_cache/simple/simple_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698