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

Side by Side Diff: content/common/fileapi/webblobregistry_impl.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 5 #ifndef CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
6 #define CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 6 #define CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis try.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegis try.h"
9 9
10 class ChildThread;
11
12 namespace WebKit { 10 namespace WebKit {
13 class WebBlobData; 11 class WebBlobData;
14 class WebURL; 12 class WebURL;
15 } 13 }
16 14
15 namespace content {
16 class ChildThread;
17
17 class WebBlobRegistryImpl : public WebKit::WebBlobRegistry { 18 class WebBlobRegistryImpl : public WebKit::WebBlobRegistry {
18 public: 19 public:
19 explicit WebBlobRegistryImpl(ChildThread* child_thread); 20 explicit WebBlobRegistryImpl(ChildThread* child_thread);
20 virtual ~WebBlobRegistryImpl(); 21 virtual ~WebBlobRegistryImpl();
21 22
22 // See WebBlobRegistry.h for documentation on these functions. 23 // See WebBlobRegistry.h for documentation on these functions.
23 virtual void registerBlobURL(const WebKit::WebURL& url, 24 virtual void registerBlobURL(const WebKit::WebURL& url,
24 WebKit::WebBlobData& data); 25 WebKit::WebBlobData& data);
25 virtual void registerBlobURL(const WebKit::WebURL& url, 26 virtual void registerBlobURL(const WebKit::WebURL& url,
26 const WebKit::WebURL& src_url); 27 const WebKit::WebURL& src_url);
27 virtual void unregisterBlobURL(const WebKit::WebURL& url); 28 virtual void unregisterBlobURL(const WebKit::WebURL& url);
28 29
29 private: 30 private:
30 ChildThread* child_thread_; 31 ChildThread* child_thread_;
31 }; 32 };
32 33
34 } // namespace content
35
33 #endif // CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 36 #endif // CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/fileapi/file_system_dispatcher.cc ('k') | content/common/fileapi/webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698