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

Unified Diff: content/worker/webworker_stub.h

Issue 8399007: Removing dedicated worker-related IPC codei (first round). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: CR feedback Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/worker/websharedworker_stub.cc ('k') | content/worker/webworker_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/webworker_stub.h
diff --git a/content/worker/webworker_stub.h b/content/worker/webworker_stub.h
deleted file mode 100644
index a650a3d66ab2ffed947fa0c63c53713aad16c58a..0000000000000000000000000000000000000000
--- a/content/worker/webworker_stub.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_WORKER_WEBWORKER_STUB_H_
-#define CONTENT_WORKER_WEBWORKER_STUB_H_
-#pragma once
-
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "content/worker/webworker_stub_base.h"
-#include "content/worker/webworkerclient_proxy.h"
-#include "googleurl/src/gurl.h"
-
-namespace WebKit {
-class WebWorker;
-}
-
-// This class creates a WebWorker, and translates incoming IPCs to the
-// appropriate WebWorker APIs.
-class WebWorkerStub : public WebWorkerStubBase {
- public:
- WebWorkerStub(const GURL& url, int route_id,
- const WorkerAppCacheInitInfo& appcache_init_info);
-
- // IPC::Channel::Listener implementation.
- virtual bool OnMessageReceived(const IPC::Message& message);
- virtual void OnChannelError();
-
- virtual const GURL& url() const;
-
- private:
- virtual ~WebWorkerStub();
-
- void OnTerminateWorkerContext();
- void OnPostMessage(const string16& message,
- const std::vector<int>& sent_message_port_ids,
- const std::vector<int>& new_routing_ids);
-
- WebKit::WebWorker* impl_;
- GURL url_;
-
- DISALLOW_COPY_AND_ASSIGN(WebWorkerStub);
-};
-
-#endif // CONTENT_WORKER_WEBWORKER_STUB_H_
« no previous file with comments | « content/worker/websharedworker_stub.cc ('k') | content/worker/webworker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698