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

Side by Side Diff: webkit/support/test_webkit_platform_support.h

Issue 10408015: Revert 137733 - Use a temp data dir for IDB tests so persistence can be verified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « no previous file | webkit/support/test_webkit_platform_support.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads. h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads. h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( 122 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
123 WebKit::WebSocketStreamHandle* handle, 123 WebKit::WebSocketStreamHandle* handle,
124 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; 124 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
125 125
126 private: 126 private:
127 TestShellWebMimeRegistryImpl mime_registry_; 127 TestShellWebMimeRegistryImpl mime_registry_;
128 MockWebClipboardImpl mock_clipboard_; 128 MockWebClipboardImpl mock_clipboard_;
129 webkit_glue::WebFileUtilitiesImpl file_utilities_; 129 webkit_glue::WebFileUtilitiesImpl file_utilities_;
130 ScopedTempDir appcache_dir_; 130 ScopedTempDir appcache_dir_;
131 SimpleAppCacheSystem appcache_system_; 131 SimpleAppCacheSystem appcache_system_;
132 ScopedTempDir indexed_db_dir_;
133 SimpleDatabaseSystem database_system_; 132 SimpleDatabaseSystem database_system_;
134 SimpleDomStorageSystem dom_storage_system_; 133 SimpleDomStorageSystem dom_storage_system_;
135 SimpleWebCookieJarImpl cookie_jar_; 134 SimpleWebCookieJarImpl cookie_jar_;
136 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 135 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
137 SimpleFileSystem file_system_; 136 SimpleFileSystem file_system_;
138 ScopedTempDir file_system_root_; 137 ScopedTempDir file_system_root_;
139 WebURLLoaderMockFactory url_loader_factory_; 138 WebURLLoaderMockFactory url_loader_factory_;
140 bool unit_test_mode_; 139 bool unit_test_mode_;
141 WebKit::WebGamepads gamepad_data_; 140 WebKit::WebGamepads gamepad_data_;
142 141
143 #if defined(OS_WIN) || defined(OS_MACOSX) 142 #if defined(OS_WIN) || defined(OS_MACOSX)
144 WebKit::WebThemeEngine* active_theme_engine_; 143 WebKit::WebThemeEngine* active_theme_engine_;
145 #endif 144 #endif
146 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 145 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
147 }; 146 };
148 147
149 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 148 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698