| 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/support/webkit_support.h" | 5 #include "webkit/support/webkit_support.h" |
| 6 | 6 |
| 7 #include "app/gfx/gl/gl_implementation.h" | 7 #include "app/gfx/gl/gl_implementation.h" |
| 8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
| 9 #include "base/base64.h" | 9 #include "base/base64.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/debug_util.h" | 11 #include "base/debug/debugger.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
| 14 #include "base/i18n/icu_util.h" | 14 #include "base/i18n/icu_util.h" |
| 15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/process_util.h" | 18 #include "base/process_util.h" |
| 19 #include "base/string_piece.h" | 19 #include "base/string_piece.h" |
| 20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
| 21 #include "base/stringprintf.h" | 21 #include "base/stringprintf.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 test_environment->webkit_client()->url_loader_factory()->UnregisterAllURLs(); | 321 test_environment->webkit_client()->url_loader_factory()->UnregisterAllURLs(); |
| 322 } | 322 } |
| 323 | 323 |
| 324 void ServeAsynchronousMockedRequests() { | 324 void ServeAsynchronousMockedRequests() { |
| 325 test_environment->webkit_client()->url_loader_factory()-> | 325 test_environment->webkit_client()->url_loader_factory()-> |
| 326 ServeAsynchronousRequests(); | 326 ServeAsynchronousRequests(); |
| 327 } | 327 } |
| 328 | 328 |
| 329 // Wrapper for debug_util | 329 // Wrapper for debug_util |
| 330 bool BeingDebugged() { | 330 bool BeingDebugged() { |
| 331 return DebugUtil::BeingDebugged(); | 331 return base::debug::BeingDebugged(); |
| 332 } | 332 } |
| 333 | 333 |
| 334 // Wrappers for MessageLoop | 334 // Wrappers for MessageLoop |
| 335 | 335 |
| 336 void RunMessageLoop() { | 336 void RunMessageLoop() { |
| 337 MessageLoop::current()->Run(); | 337 MessageLoop::current()->Run(); |
| 338 } | 338 } |
| 339 | 339 |
| 340 void QuitMessageLoop() { | 340 void QuitMessageLoop() { |
| 341 MessageLoop::current()->Quit(); | 341 MessageLoop::current()->Quit(); |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 callbacks->didFail(WebKit::WebFileErrorSecurity); | 547 callbacks->didFail(WebKit::WebFileErrorSecurity); |
| 548 } else { | 548 } else { |
| 549 callbacks->didOpenFileSystem( | 549 callbacks->didOpenFileSystem( |
| 550 "TestShellFileSystem", | 550 "TestShellFileSystem", |
| 551 webkit_glue::FilePathToWebString( | 551 webkit_glue::FilePathToWebString( |
| 552 test_environment->webkit_client()->file_system_root())); | 552 test_environment->webkit_client()->file_system_root())); |
| 553 } | 553 } |
| 554 } | 554 } |
| 555 | 555 |
| 556 } // namespace webkit_support | 556 } // namespace webkit_support |
| OLD | NEW |