OLD | NEW |
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 #include "content/test/test_blink_web_unit_test_support.h" | 5 #include "content/test/test_blink_web_unit_test_support.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "third_party/WebKit/public/platform/WebString.h" | 27 #include "third_party/WebKit/public/platform/WebString.h" |
28 #include "third_party/WebKit/public/platform/WebURL.h" | 28 #include "third_party/WebKit/public/platform/WebURL.h" |
29 #include "third_party/WebKit/public/web/WebDatabase.h" | 29 #include "third_party/WebKit/public/web/WebDatabase.h" |
30 #include "third_party/WebKit/public/web/WebKit.h" | 30 #include "third_party/WebKit/public/web/WebKit.h" |
31 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 31 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
32 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 32 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
33 #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h" | 33 #include "third_party/WebKit/public/web/WebStorageEventDispatcher.h" |
34 #include "v8/include/v8.h" | 34 #include "v8/include/v8.h" |
35 | 35 |
36 #if defined(OS_MACOSX) | 36 #if defined(OS_MACOSX) |
37 #include "base/mac/mac_util.h" | 37 #include "base/mac/foundation_util.h" |
38 #include "base/mac/scoped_nsautorelease_pool.h" | 38 #include "base/mac/scoped_nsautorelease_pool.h" |
39 #endif | 39 #endif |
40 | 40 |
41 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 41 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
42 #include "gin/public/isolate_holder.h" | 42 #include "gin/public/isolate_holder.h" |
43 #endif | 43 #endif |
44 | 44 |
45 namespace content { | 45 namespace content { |
46 | 46 |
47 TestBlinkWebUnitTestSupport::TestBlinkWebUnitTestSupport() { | 47 TestBlinkWebUnitTestSupport::TestBlinkWebUnitTestSupport() { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 return blink::WebData(buffer.data(), buffer.size()); | 312 return blink::WebData(buffer.data(), buffer.size()); |
313 } | 313 } |
314 | 314 |
315 bool TestBlinkWebUnitTestSupport::getBlobItems( | 315 bool TestBlinkWebUnitTestSupport::getBlobItems( |
316 const blink::WebString& uuid, | 316 const blink::WebString& uuid, |
317 blink::WebVector<blink::WebBlobData::Item*>* items) { | 317 blink::WebVector<blink::WebBlobData::Item*>* items) { |
318 return blob_registry_.GetBlobItems(uuid, items); | 318 return blob_registry_.GetBlobItems(uuid, items); |
319 } | 319 } |
320 | 320 |
321 } // namespace content | 321 } // namespace content |
OLD | NEW |