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

Unified Diff: webkit/tools/test_shell/test_shell_webblobregistry_impl.h

Issue 15946006: Move C++ code from webkit/tools/test_shell to webkit/support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix npapi_test_plugin Created 7 years, 7 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: webkit/tools/test_shell/test_shell_webblobregistry_impl.h
diff --git a/webkit/tools/test_shell/test_shell_webblobregistry_impl.h b/webkit/tools/test_shell/test_shell_webblobregistry_impl.h
deleted file mode 100644
index 1eaf395914a9e7ffa8416b9fd793a1d07958cd4a..0000000000000000000000000000000000000000
--- a/webkit/tools/test_shell/test_shell_webblobregistry_impl.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 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 WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_
-#define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_
-
-#include "base/memory/ref_counted.h"
-#include "third_party/WebKit/public/platform/WebBlobRegistry.h"
-
-class GURL;
-
-namespace webkit_blob {
-class BlobData;
-class BlobStorageController;
-}
-
-class TestShellWebBlobRegistryImpl
- : public WebKit::WebBlobRegistry,
- public base::RefCountedThreadSafe<TestShellWebBlobRegistryImpl> {
- public:
- static void InitializeOnIOThread(
- webkit_blob::BlobStorageController* blob_storage_controller);
- static void Cleanup();
-
- TestShellWebBlobRegistryImpl();
-
- // See WebBlobRegistry.h for documentation on these functions.
- virtual void registerBlobURL(const WebKit::WebURL& url,
- WebKit::WebBlobData& data);
- virtual void registerBlobURL(const WebKit::WebURL& url,
- const WebKit::WebURL& src_url);
- virtual void unregisterBlobURL(const WebKit::WebURL& url);
-
- protected:
- virtual ~TestShellWebBlobRegistryImpl() {}
-
- private:
- friend class base::RefCountedThreadSafe<TestShellWebBlobRegistryImpl>;
-
- // Run on I/O thread.
- void AddFinishedBlob(const GURL& url, webkit_blob::BlobData* blob_data);
- void CloneBlob(const GURL& url, const GURL& src_url);
- void RemoveBlob(const GURL& url);
-
- DISALLOW_COPY_AND_ASSIGN(TestShellWebBlobRegistryImpl);
-};
-
-#endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_
« no previous file with comments | « webkit/tools/test_shell/test_shell_request_context.cc ('k') | webkit/tools/test_shell/test_shell_webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698