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

Side by Side Diff: content/test/mock_webblob_registry_impl.h

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ 5 #ifndef CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_
6 #define CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ 6 #define CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 27 matching lines...) Expand all
38 const char* data, size_t length); 38 const char* data, size_t length);
39 virtual void flushStream(const blink::WebURL& url); 39 virtual void flushStream(const blink::WebURL& url);
40 virtual void finalizeStream(const blink::WebURL& url); 40 virtual void finalizeStream(const blink::WebURL& url);
41 virtual void abortStream(const blink::WebURL& url); 41 virtual void abortStream(const blink::WebURL& url);
42 virtual void unregisterStreamURL(const blink::WebURL& url); 42 virtual void unregisterStreamURL(const blink::WebURL& url);
43 43
44 bool GetBlobItems(const blink::WebString& uuid, 44 bool GetBlobItems(const blink::WebString& uuid,
45 blink::WebVector<blink::WebBlobData::Item*>* items) const; 45 blink::WebVector<blink::WebBlobData::Item*>* items) const;
46 46
47 private: 47 private:
48 base::ScopedPtrHashMap<std::string, ScopedVector<blink::WebBlobData::Item>> 48 base::ScopedPtrHashMap<std::string,
49 scoped_ptr<ScopedVector<blink::WebBlobData::Item>>>
49 blob_data_items_map_; 50 blob_data_items_map_;
50 std::map<std::string, int> blob_ref_count_map_; 51 std::map<std::string, int> blob_ref_count_map_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); 53 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl);
53 }; 54 };
54 55
55 } // namespace content 56 } // namespace content
56 57
57 #endif // CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ 58 #endif // CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_manager.h ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698