OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" | 5 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
9 #include "third_party/WebKit/WebKit/chromium/public/WebBlobData.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebBlobData.h" |
10 #include "third_party/WebKit/WebKit/chromium/public/WebBlobStorageData.h" | |
11 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
12 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
13 #include "webkit/blob/blob_data.h" | 12 #include "webkit/blob/blob_data.h" |
14 #include "webkit/blob/blob_storage_controller.h" | 13 #include "webkit/blob/blob_storage_controller.h" |
15 | 14 |
16 using WebKit::WebBlobData; | 15 using WebKit::WebBlobData; |
17 using WebKit::WebBlobStorageData; | 16 using WebKit::WebBlobStorageData; |
18 using WebKit::WebString; | 17 using WebKit::WebString; |
19 using WebKit::WebURL; | 18 using WebKit::WebURL; |
20 | 19 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void TestShellWebBlobRegistryImpl::DoRegisterBlobUrlFrom( | 80 void TestShellWebBlobRegistryImpl::DoRegisterBlobUrlFrom( |
82 const GURL& url, const GURL& src_url) { | 81 const GURL& url, const GURL& src_url) { |
83 DCHECK(g_blob_storage_controller); | 82 DCHECK(g_blob_storage_controller); |
84 g_blob_storage_controller->RegisterBlobUrlFrom(url, src_url); | 83 g_blob_storage_controller->RegisterBlobUrlFrom(url, src_url); |
85 } | 84 } |
86 | 85 |
87 void TestShellWebBlobRegistryImpl::DoUnregisterBlobUrl(const GURL& url) { | 86 void TestShellWebBlobRegistryImpl::DoUnregisterBlobUrl(const GURL& url) { |
88 DCHECK(g_blob_storage_controller); | 87 DCHECK(g_blob_storage_controller); |
89 g_blob_storage_controller->UnregisterBlobUrl(url); | 88 g_blob_storage_controller->UnregisterBlobUrl(url); |
90 } | 89 } |
OLD | NEW |