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

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

Issue 434833002: Add mock WebBlobRegistry to TestWebKitPlatformSupport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 6 years, 4 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
« no previous file with comments | « no previous file | content/content_tests.gypi » ('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_WEBBLOBREGISTRY_IMPL_H_
6 #define CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 6 #define CONTENT_CHILD_WEBBLOBREGISTRY_IMPL_H_
7
8 #include <string>
7 9
8 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" 11 #include "third_party/WebKit/public/platform/WebBlobRegistry.h"
10 #include "webkit/common/blob/blob_data.h"
11
12 namespace blink {
13 class WebBlobData;
14 class WebString;
15 class WebThreadSafeData;
16 class WebURL;
17 }
18 12
19 namespace content { 13 namespace content {
20 class ThreadSafeSender; 14 class ThreadSafeSender;
21 15
22 class WebBlobRegistryImpl : public blink::WebBlobRegistry { 16 class WebBlobRegistryImpl : public blink::WebBlobRegistry {
23 public: 17 public:
24 explicit WebBlobRegistryImpl(ThreadSafeSender* sender); 18 explicit WebBlobRegistryImpl(ThreadSafeSender* sender);
25 virtual ~WebBlobRegistryImpl(); 19 virtual ~WebBlobRegistryImpl();
26 20
27 virtual void registerBlobData(const blink::WebString& uuid, 21 virtual void registerBlobData(const blink::WebString& uuid,
(...skipping 18 matching lines...) Expand all
46 private: 40 private:
47 void SendDataForBlob(const std::string& uuid_str, 41 void SendDataForBlob(const std::string& uuid_str,
48 const blink::WebThreadSafeData& data); 42 const blink::WebThreadSafeData& data);
49 43
50 scoped_refptr<ThreadSafeSender> sender_; 44 scoped_refptr<ThreadSafeSender> sender_;
51 }; 45 };
52 46
53 } // namespace content 47 } // namespace content
54 48
55 #endif // CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_ 49 #endif // CONTENT_CHILD_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698