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

Unified Diff: content/renderer/shared_worker_repository.h

Issue 2623613004: SharedWorker: Move classes under content/renderer to content/renderer/shared_worker (Closed)
Patch Set: fix include guards Created 3 years, 11 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
Index: content/renderer/shared_worker_repository.h
diff --git a/content/renderer/shared_worker_repository.h b/content/renderer/shared_worker_repository.h
deleted file mode 100644
index c4dffb2fedc367d3013bffb82183eea989c7bce0..0000000000000000000000000000000000000000
--- a/content/renderer/shared_worker_repository.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2013 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_RENDERER_SHARED_WORKER_REPOSITORY_H_
-#define CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_
-
-#include <memory>
-#include <set>
-
-#include "base/macros.h"
-#include "third_party/WebKit/public/platform/WebAddressSpace.h"
-#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h"
-#include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h"
-#include "third_party/WebKit/public/web/WebSharedWorkerRepositoryClient.h"
-
-namespace content {
-
-class RenderFrameImpl;
-
-class SharedWorkerRepository final
- : public blink::WebSharedWorkerRepositoryClient {
- public:
- explicit SharedWorkerRepository(RenderFrameImpl* render_frame);
- ~SharedWorkerRepository();
-
- // WebSharedWorkerRepositoryClient overrides.
- std::unique_ptr<blink::WebSharedWorkerConnector> createSharedWorkerConnector(
- const blink::WebURL& url,
- const blink::WebString& name,
- DocumentID document_id,
- const blink::WebString& content_security_policy,
- blink::WebContentSecurityPolicyType,
- blink::WebAddressSpace,
- blink::WebSharedWorkerCreationContextType,
- blink::WebWorkerCreationError* error) override;
- void documentDetached(DocumentID document_id) override;
-
- private:
- RenderFrameImpl* render_frame_;
- std::set<DocumentID> documents_with_workers_;
-
- DISALLOW_COPY_AND_ASSIGN(SharedWorkerRepository);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_SHARED_WORKER_REPOSITORY_H_
« no previous file with comments | « content/renderer/shared_worker/websharedworker_proxy.cc ('k') | content/renderer/shared_worker_repository.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698