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

Side by Side Diff: webkit/tools/test_shell/test_shell_webblobregistry_impl.h

Issue 10066044: RefCounted types should not have public destructors, webkit/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation ordering Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis try.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis try.h"
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 TestShellWebBlobRegistryImpl(); 26 TestShellWebBlobRegistryImpl();
27 27
28 // See WebBlobRegistry.h for documentation on these functions. 28 // See WebBlobRegistry.h for documentation on these functions.
29 virtual void registerBlobURL(const WebKit::WebURL& url, 29 virtual void registerBlobURL(const WebKit::WebURL& url,
30 WebKit::WebBlobData& data); 30 WebKit::WebBlobData& data);
31 virtual void registerBlobURL(const WebKit::WebURL& url, 31 virtual void registerBlobURL(const WebKit::WebURL& url,
32 const WebKit::WebURL& src_url); 32 const WebKit::WebURL& src_url);
33 virtual void unregisterBlobURL(const WebKit::WebURL& url); 33 virtual void unregisterBlobURL(const WebKit::WebURL& url);
34 34
35 protected:
36 virtual ~TestShellWebBlobRegistryImpl() {}
37
35 private: 38 private:
36 friend class base::RefCountedThreadSafe<TestShellWebBlobRegistryImpl>; 39 friend class base::RefCountedThreadSafe<TestShellWebBlobRegistryImpl>;
37 40
38 // Run on I/O thread. 41 // Run on I/O thread.
39 void AddFinishedBlob(const GURL& url, webkit_blob::BlobData* blob_data); 42 void AddFinishedBlob(const GURL& url, webkit_blob::BlobData* blob_data);
40 void CloneBlob(const GURL& url, const GURL& src_url); 43 void CloneBlob(const GURL& url, const GURL& src_url);
41 void RemoveBlob(const GURL& url); 44 void RemoveBlob(const GURL& url);
42 45
43 DISALLOW_COPY_AND_ASSIGN(TestShellWebBlobRegistryImpl); 46 DISALLOW_COPY_AND_ASSIGN(TestShellWebBlobRegistryImpl);
44 }; 47 };
45 48
46 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_ 49 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBBLOBREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_resource_loader_bridge.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