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

Side by Side Diff: content/worker/webworker_stub_base.h

Issue 6691004: Move worker code from chrome\worker to content\worker. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/webworker_stub.cc ('k') | content/worker/webworker_stub_base.cc » ('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) 2009 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 #ifndef CHROME_WORKER_WEBWORKER_STUB_BASE_H_ 5 #ifndef CONTENT_WORKER_WEBWORKER_STUB_BASE_H_
6 #define CHROME_WORKER_WEBWORKER_STUB_BASE_H_ 6 #define CONTENT_WORKER_WEBWORKER_STUB_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/worker/webworkerclient_proxy.h" 10 #include "content/worker/webworkerclient_proxy.h"
11 #include "chrome/worker/worker_webapplicationcachehost_impl.h" 11 #include "content/worker/worker_webapplicationcachehost_impl.h"
12 #include "ipc/ipc_channel.h" 12 #include "ipc/ipc_channel.h"
13 13
14 // This class is the common base class for both WebWorkerStub and 14 // This class is the common base class for both WebWorkerStub and
15 // WebSharedWorkerStub and contains common setup/teardown functionality. 15 // WebSharedWorkerStub and contains common setup/teardown functionality.
16 class WebWorkerStubBase : public IPC::Channel::Listener { 16 class WebWorkerStubBase : public IPC::Channel::Listener {
17 public: 17 public:
18 WebWorkerStubBase(int route_id, 18 WebWorkerStubBase(int route_id,
19 const WorkerAppCacheInitInfo& appcache_init_info); 19 const WorkerAppCacheInitInfo& appcache_init_info);
20 virtual ~WebWorkerStubBase(); 20 virtual ~WebWorkerStubBase();
21 21
(...skipping 16 matching lines...) Expand all
38 private: 38 private:
39 int route_id_; 39 int route_id_;
40 WorkerAppCacheInitInfo appcache_init_info_; 40 WorkerAppCacheInitInfo appcache_init_info_;
41 41
42 // WebWorkerClient that responds to outgoing API calls from the worker object. 42 // WebWorkerClient that responds to outgoing API calls from the worker object.
43 WebWorkerClientProxy client_; 43 WebWorkerClientProxy client_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(WebWorkerStubBase); 45 DISALLOW_COPY_AND_ASSIGN(WebWorkerStubBase);
46 }; 46 };
47 47
48 #endif // CHROME_WORKER_WEBWORKER_STUB_BASE_H_ 48 #endif // CONTENT_WORKER_WEBWORKER_STUB_BASE_H_
OLDNEW
« no previous file with comments | « content/worker/webworker_stub.cc ('k') | content/worker/webworker_stub_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698