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

Unified Diff: content/browser/debugger/worker_devtools_manager.cc

Issue 8483003: Callback API Change: Reimplement Bind(); support IgnoreResult, full currying, and use less types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/cancelable_request.h ('k') | content/browser/plugin_service_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/debugger/worker_devtools_manager.cc
diff --git a/content/browser/debugger/worker_devtools_manager.cc b/content/browser/debugger/worker_devtools_manager.cc
index a2f2f22abfc59f9d48f6fbefff0669cebf36c1cd..371314c504aef61d313ceedd771f6d33b478ca4b 100644
--- a/content/browser/debugger/worker_devtools_manager.cc
+++ b/content/browser/debugger/worker_devtools_manager.cc
@@ -205,7 +205,7 @@ class WorkerDevToolsManager::DetachedClientHosts {
static void RemovePendingWorkerData(WorkerId id) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(RemoveInspectedWorkerDataOnIOThread, id));
+ base::Bind(&RemoveInspectedWorkerDataOnIOThread, id));
}
static void RemoveInspectedWorkerDataOnIOThread(WorkerId id) {
@@ -303,7 +303,7 @@ void WorkerDevToolsManager::WorkerDestroyed(
inspected_workers_.erase(it);
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- base::Bind(DetachedClientHosts::WorkerDestroyed, worker_id));
+ base::Bind(&DetachedClientHosts::WorkerDestroyed, worker_id));
}
void WorkerDevToolsManager::WorkerContextStarted(WorkerProcessHost* process,
@@ -316,7 +316,7 @@ void WorkerDevToolsManager::WorkerContextStarted(WorkerProcessHost* process,
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(
- DetachedClientHosts::WorkerReloaded,
+ &DetachedClientHosts::WorkerReloaded,
it->second,
new_worker_id));
paused_workers_.erase(it);
@@ -394,7 +394,7 @@ void WorkerDevToolsManager::ForwardToDevToolsClient(
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(
- ForwardToDevToolsClientOnUIThread,
+ &ForwardToDevToolsClientOnUIThread,
worker_process_id,
worker_route_id,
message));
@@ -406,7 +406,7 @@ void WorkerDevToolsManager::SaveAgentRuntimeState(int worker_process_id,
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(
- SaveAgentRuntimeStateOnUIThread,
+ &SaveAgentRuntimeStateOnUIThread,
worker_process_id,
worker_route_id,
state));
@@ -479,4 +479,3 @@ void WorkerDevToolsManager::SendResumeToWorker(const WorkerId& id) {
if (WorkerProcessHost* process = FindWorkerProcess(id.first))
process->Send(new DevToolsAgentMsg_ResumeWorkerContext(id.second));
}
-
« no previous file with comments | « content/browser/cancelable_request.h ('k') | content/browser/plugin_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698