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

Side by Side Diff: chrome/browser/debugger/devtools_sanity_browsertest.cc

Issue 10026013: Update use of TimeDelta in chrome/browser/*, ui/views/*, and other places. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. 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
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 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/cancelable_callback.h" 6 #include "base/cancelable_callback.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 L"", 554 L"",
555 L"window.domAutomationController.send(" 555 L"window.domAutomationController.send("
556 L"'' + (window.uiTests && (typeof uiTests.runTest)));", 556 L"'' + (window.uiTests && (typeof uiTests.runTest)));",
557 &result)); 557 &result));
558 ASSERT_EQ("function", result) << "DevTools front-end is broken."; 558 ASSERT_EQ("function", result) << "DevTools front-end is broken.";
559 CloseDevToolsWindow(); 559 CloseDevToolsWindow();
560 } 560 }
561 561
562 #if defined(OS_MACOSX) 562 #if defined(OS_MACOSX)
563 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker 563 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker
564 #elif defined(OS_WIN)
565 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker
564 #elif !defined(NDEBUG) 566 #elif !defined(NDEBUG)
565 // Now fails consistently on Windows and Linux debug, http://crbug.com/115192 567 // Now fails consistently on Windows and Linux debug, http://crbug.com/115192
566 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker 568 #define MAYBE_InspectSharedWorker DISABLED_InspectSharedWorker
567 #else 569 #else
568 #define MAYBE_InspectSharedWorker InspectSharedWorker 570 #define MAYBE_InspectSharedWorker InspectSharedWorker
569 #endif 571 #endif
570 // Flakily fails with 25s timeout: http://crbug.com/89845 572 // Flakily fails with 25s timeout: http://crbug.com/89845
571 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, MAYBE_InspectSharedWorker) { 573 IN_PROC_BROWSER_TEST_F(WorkerDevToolsSanityTest, MAYBE_InspectSharedWorker) {
572 RunTest("testSharedWorker", kSharedWorkerTestPage); 574 RunTest("testSharedWorker", kSharedWorkerTestPage);
573 } 575 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 content::CONSOLE_MESSAGE_LEVEL_LOG, 613 content::CONSOLE_MESSAGE_LEVEL_LOG,
612 "log"); 614 "log");
613 devtools_manager->AddMessageToConsole(agent_host, 615 devtools_manager->AddMessageToConsole(agent_host,
614 content::CONSOLE_MESSAGE_LEVEL_ERROR, 616 content::CONSOLE_MESSAGE_LEVEL_ERROR,
615 "error"); 617 "error");
616 RunTestFunction(window_, "checkLogAndErrorMessages"); 618 RunTestFunction(window_, "checkLogAndErrorMessages");
617 CloseDevToolsWindow(); 619 CloseDevToolsWindow();
618 } 620 }
619 621
620 } // namespace 622 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/web_socket_proxy_controller.cc ('k') | chrome/browser/geolocation/wifi_data_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698