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

Side by Side Diff: content/child/webblobregistry_impl.h

Issue 29513003: Cleanup deprecated and no longer needed blob revamp stuff, deadcode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « content/child/fileapi/webfilewriter_impl.cc ('k') | content/child/webblobregistry_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
6 #define CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 6 #define CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" 9 #include "third_party/WebKit/public/platform/WebBlobRegistry.h"
10 #include "webkit/common/blob/blob_data.h" 10 #include "webkit/common/blob/blob_data.h"
(...skipping 14 matching lines...) Expand all
25 virtual ~WebBlobRegistryImpl(); 25 virtual ~WebBlobRegistryImpl();
26 26
27 virtual void registerBlobData(const WebKit::WebString& uuid, 27 virtual void registerBlobData(const WebKit::WebString& uuid,
28 const WebKit::WebBlobData& data); 28 const WebKit::WebBlobData& data);
29 virtual void addBlobDataRef(const WebKit::WebString& uuid); 29 virtual void addBlobDataRef(const WebKit::WebString& uuid);
30 virtual void removeBlobDataRef(const WebKit::WebString& uuid); 30 virtual void removeBlobDataRef(const WebKit::WebString& uuid);
31 virtual void registerPublicBlobURL(const WebKit::WebURL&, 31 virtual void registerPublicBlobURL(const WebKit::WebURL&,
32 const WebKit::WebString& uuid); 32 const WebKit::WebString& uuid);
33 virtual void revokePublicBlobURL(const WebKit::WebURL&); 33 virtual void revokePublicBlobURL(const WebKit::WebURL&);
34 34
35 // DEPRECATED
36 // TODO(michaeln): crbug/174200
37 virtual void registerBlobURL(const WebKit::WebURL& url,
38 WebKit::WebBlobData& data);
39 virtual void registerBlobURL(const WebKit::WebURL& url,
40 const WebKit::WebURL& src_url);
41 virtual void unregisterBlobURL(const WebKit::WebURL& url);
42
43 // Additional support for Streams. 35 // Additional support for Streams.
44 virtual void registerStreamURL(const WebKit::WebURL& url, 36 virtual void registerStreamURL(const WebKit::WebURL& url,
45 const WebKit::WebString& content_type); 37 const WebKit::WebString& content_type);
46 virtual void registerStreamURL(const WebKit::WebURL& url, 38 virtual void registerStreamURL(const WebKit::WebURL& url,
47 const WebKit::WebURL& src_url); 39 const WebKit::WebURL& src_url);
48 virtual void addDataToStream(const WebKit::WebURL& url, 40 virtual void addDataToStream(const WebKit::WebURL& url,
49 WebKit::WebThreadSafeData& data); 41 WebKit::WebThreadSafeData& data);
50 virtual void finalizeStream(const WebKit::WebURL& url); 42 virtual void finalizeStream(const WebKit::WebURL& url);
51 virtual void abortStream(const WebKit::WebURL& url); 43 virtual void abortStream(const WebKit::WebURL& url);
52 virtual void unregisterStreamURL(const WebKit::WebURL& url); 44 virtual void unregisterStreamURL(const WebKit::WebURL& url);
53 45
54 private: 46 private:
55 void SendDataForBlob(const std::string& uuid_str, 47 void SendDataForBlob(const std::string& uuid_str,
56 const WebKit::WebThreadSafeData& data); 48 const WebKit::WebThreadSafeData& data);
57 49
58 scoped_refptr<ThreadSafeSender> sender_; 50 scoped_refptr<ThreadSafeSender> sender_;
59 }; 51 };
60 52
61 } // namespace content 53 } // namespace content
62 54
63 #endif // CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 55 #endif // CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilewriter_impl.cc ('k') | content/child/webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698