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

Side by Side Diff: webkit/support/test_webkit_client.cc

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 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 | Annotate | Revision Log
« no previous file with comments | « webkit/support/simple_database_system.h ('k') | webkit/tools/test_shell/simple_file_system.h » ('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 (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/support/test_webkit_client.h" 5 #include "webkit/support/test_webkit_client.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/memory/scoped_temp_dir.h" 8 #include "base/metrics/stats_counters.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/metrics/stats_counters.h" 10 #include "base/scoped_temp_dir.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "media/base/media.h"
13 #include "net/base/cookie_monster.h" 14 #include "net/base/cookie_monster.h"
14 #include "net/http/http_cache.h" 15 #include "net/http/http_cache.h"
15 #include "net/test/test_server.h" 16 #include "net/test/test_server.h"
16 #include "media/base/media.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h " 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h "
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h" 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat cher.h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat cher.h"
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h " 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h "
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
34 #include "v8/include/v8.h"
34 #include "webkit/appcache/web_application_cache_host_impl.h" 35 #include "webkit/appcache/web_application_cache_host_impl.h"
35 #include "webkit/database/vfs_backend.h" 36 #include "webkit/database/vfs_backend.h"
36 #include "webkit/extensions/v8/gc_extension.h" 37 #include "webkit/extensions/v8/gc_extension.h"
37 #include "webkit/glue/simple_webmimeregistry_impl.h" 38 #include "webkit/glue/simple_webmimeregistry_impl.h"
38 #include "webkit/glue/webclipboard_impl.h" 39 #include "webkit/glue/webclipboard_impl.h"
39 #include "webkit/glue/webkit_glue.h" 40 #include "webkit/glue/webkit_glue.h"
40 #include "webkit/glue/webkitclient_impl.h" 41 #include "webkit/glue/webkitclient_impl.h"
42 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h"
41 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 43 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
42 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h"
43 #include "webkit/support/simple_database_system.h" 44 #include "webkit/support/simple_database_system.h"
45 #include "webkit/support/webkit_support.h"
44 #include "webkit/support/weburl_loader_mock_factory.h" 46 #include "webkit/support/weburl_loader_mock_factory.h"
45 #include "webkit/support/webkit_support.h"
46 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" 47 #include "webkit/tools/test_shell/mock_webclipboard_impl.h"
47 #include "webkit/tools/test_shell/simple_appcache_system.h" 48 #include "webkit/tools/test_shell/simple_appcache_system.h"
48 #include "webkit/tools/test_shell/simple_file_system.h" 49 #include "webkit/tools/test_shell/simple_file_system.h"
49 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" 50 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
50 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" 51 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h"
51 #include "webkit/tools/test_shell/test_shell_request_context.h" 52 #include "webkit/tools/test_shell/test_shell_request_context.h"
52 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" 53 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h"
53 #include "v8/include/v8.h"
54 54
55 #if defined(OS_WIN) 55 #if defined(OS_WIN)
56 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebThemeEngine.h" 56 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebThemeEngine.h"
57 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" 57 #include "webkit/tools/test_shell/test_shell_webthemeengine.h"
58 #elif defined(OS_LINUX) 58 #elif defined(OS_LINUX)
59 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebThemeEngine. h" 59 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebThemeEngine. h"
60 #elif defined(OS_MACOSX) 60 #elif defined(OS_MACOSX)
61 #include "base/mac/mac_util.h" 61 #include "base/mac/mac_util.h"
62 #endif 62 #endif
63 63
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 switch (webkit_support::GetGraphicsContext3DImplementation()) { 356 switch (webkit_support::GetGraphicsContext3DImplementation()) {
357 case webkit_support::IN_PROCESS: 357 case webkit_support::IN_PROCESS:
358 return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); 358 return new webkit::gpu::WebGraphicsContext3DInProcessImpl();
359 case webkit_support::IN_PROCESS_COMMAND_BUFFER: 359 case webkit_support::IN_PROCESS_COMMAND_BUFFER:
360 return new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl(); 360 return new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl();
361 default: 361 default:
362 CHECK(false) << "Unknown GraphicsContext3D Implementation"; 362 CHECK(false) << "Unknown GraphicsContext3D Implementation";
363 return NULL; 363 return NULL;
364 } 364 }
365 } 365 }
OLDNEW
« no previous file with comments | « webkit/support/simple_database_system.h ('k') | webkit/tools/test_shell/simple_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698