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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.cc

Issue 166873008: Revert 251334 "Add SharedWorkerMessageFilter for the embedded Sh..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1845/src/
Patch Set: Created 6 years, 10 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/browser/shared_worker/shared_worker_service_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/shared_worker/shared_worker_service_impl.cc
===================================================================
--- content/browser/shared_worker/shared_worker_service_impl.cc (revision 251800)
+++ content/browser/shared_worker/shared_worker_service_impl.cc (working copy)
@@ -4,7 +4,6 @@
#include "content/browser/shared_worker/shared_worker_service_impl.h"
-#include "content/browser/shared_worker/shared_worker_message_filter.h"
#include "content/common/worker_messages.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/worker_service_observer.h"
@@ -12,16 +11,21 @@
namespace content {
SharedWorkerServiceImpl* SharedWorkerServiceImpl::GetInstance() {
+ // TODO(horo): implement this.
+ NOTIMPLEMENTED();
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
return Singleton<SharedWorkerServiceImpl>::get();
}
SharedWorkerServiceImpl::SharedWorkerServiceImpl() {
+ // TODO(horo): implement this.
}
SharedWorkerServiceImpl::~SharedWorkerServiceImpl() {
+ // TODO(horo): implement this.
}
+
bool SharedWorkerServiceImpl::TerminateWorker(int process_id, int route_id) {
// TODO(horo): implement this.
return false;
@@ -43,102 +47,4 @@
observers_.RemoveObserver(observer);
}
-void SharedWorkerServiceImpl::CreateWorker(
- const ViewHostMsg_CreateWorker_Params& params,
- int route_id,
- SharedWorkerMessageFilter* filter,
- ResourceContext* resource_context,
- const WorkerStoragePartition& partition,
- bool* url_mismatch) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::ForwardToWorker(
- const IPC::Message& message,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::DocumentDetached(
- unsigned long long document_id,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::WorkerContextClosed(
- int worker_route_id,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::WorkerContextDestroyed(
- int worker_route_id,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::WorkerScriptLoaded(
- int worker_route_id,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::WorkerScriptLoadFailed(
- int worker_route_id,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::WorkerConnected(
- int message_port_id,
- int worker_route_id,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::AllowDatabase(
- int worker_route_id,
- const GURL& url,
- const base::string16& name,
- const base::string16& display_name,
- unsigned long estimated_size,
- bool* result,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::AllowFileSystem(
- int worker_route_id,
- const GURL& url,
- bool* result,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::AllowIndexedDB(
- int worker_route_id,
- const GURL& url,
- const base::string16& name,
- bool* result,
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
-void SharedWorkerServiceImpl::OnSharedWorkerMessageFilterClosing(
- SharedWorkerMessageFilter* filter) {
- // TODO(horo): implement this.
- NOTIMPLEMENTED();
-}
-
} // namespace content
« no previous file with comments | « content/browser/shared_worker/shared_worker_service_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698