| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlobData.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobData.
h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
| 12 #include "webkit/blob/blob_data.h" | 12 #include "webkit/blob/blob_data.h" |
| 13 #include "webkit/blob/blob_storage_controller.h" | 13 #include "webkit/blob/blob_storage_controller.h" |
| 14 | 14 |
| 15 using WebKit::WebBlobData; | 15 using WebKit::WebBlobData; |
| 16 using WebKit::WebURL; | 16 using WebKit::WebURL; |
| 17 using webkit_blob::BlobData; | 17 using webkit_blob::BlobData; |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 MessageLoop* g_io_thread; | 21 MessageLoop* g_io_thread; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void TestShellWebBlobRegistryImpl::CloneBlob( | 75 void TestShellWebBlobRegistryImpl::CloneBlob( |
| 76 const GURL& url, const GURL& src_url) { | 76 const GURL& url, const GURL& src_url) { |
| 77 DCHECK(g_blob_storage_controller); | 77 DCHECK(g_blob_storage_controller); |
| 78 g_blob_storage_controller->CloneBlob(url, src_url); | 78 g_blob_storage_controller->CloneBlob(url, src_url); |
| 79 } | 79 } |
| 80 | 80 |
| 81 void TestShellWebBlobRegistryImpl::RemoveBlob(const GURL& url) { | 81 void TestShellWebBlobRegistryImpl::RemoveBlob(const GURL& url) { |
| 82 DCHECK(g_blob_storage_controller); | 82 DCHECK(g_blob_storage_controller); |
| 83 g_blob_storage_controller->RemoveBlob(url); | 83 g_blob_storage_controller->RemoveBlob(url); |
| 84 } | 84 } |
| OLD | NEW |