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

Side by Side Diff: content/worker/shared_worker_devtools_agent.cc

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 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
« no previous file with comments | « content/worker/shared_worker_devtools_agent.h ('k') | content/worker/websharedworker_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/worker/shared_worker_devtools_agent.h" 5 #include "content/worker/shared_worker_devtools_agent.h"
6 6
7 #include "content/common/devtools_messages.h" 7 #include "content/common/devtools_messages.h"
8 #include "content/worker/worker_thread.h" 8 #include "content/worker/worker_thread.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h " 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h "
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorker.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorker.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
12 12
13 using WebKit::WebSharedWorker; 13 using WebKit::WebSharedWorker;
14 using WebKit::WebString; 14 using WebKit::WebString;
15 15
16 namespace content {
17
16 SharedWorkerDevToolsAgent::SharedWorkerDevToolsAgent( 18 SharedWorkerDevToolsAgent::SharedWorkerDevToolsAgent(
17 int route_id, 19 int route_id,
18 WebSharedWorker* webworker) 20 WebSharedWorker* webworker)
19 : route_id_(route_id), 21 : route_id_(route_id),
20 webworker_(webworker) { 22 webworker_(webworker) {
21 } 23 }
22 24
23 SharedWorkerDevToolsAgent::~SharedWorkerDevToolsAgent() { 25 SharedWorkerDevToolsAgent::~SharedWorkerDevToolsAgent() {
24 } 26 }
25 27
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 webworker_->pauseWorkerContextOnStart(); 77 webworker_->pauseWorkerContextOnStart();
76 } 78 }
77 79
78 void SharedWorkerDevToolsAgent::OnResumeWorkerContext() { 80 void SharedWorkerDevToolsAgent::OnResumeWorkerContext() {
79 webworker_->resumeWorkerContext(); 81 webworker_->resumeWorkerContext();
80 } 82 }
81 83
82 bool SharedWorkerDevToolsAgent::Send(IPC::Message* message) { 84 bool SharedWorkerDevToolsAgent::Send(IPC::Message* message) {
83 return WorkerThread::current()->Send(message); 85 return WorkerThread::current()->Send(message);
84 } 86 }
87
88 } // namespace content
OLDNEW
« no previous file with comments | « content/worker/shared_worker_devtools_agent.h ('k') | content/worker/websharedworker_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698