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

Side by Side Diff: chrome/browser/performance_monitor/performance_monitor_browsertest.cc

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 years, 5 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 | chrome/browser/resources/sync_internals/about.html » ('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 #include "chrome/test/base/in_process_browser_test.h" 5 #include "chrome/test/base/in_process_browser_test.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/threading/sequenced_worker_pool.h" 10 #include "base/threading/sequenced_worker_pool.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 IN_PROC_BROWSER_TEST_F(PerformanceMonitorBrowserTest, KilledByOSEvent) { 403 IN_PROC_BROWSER_TEST_F(PerformanceMonitorBrowserTest, KilledByOSEvent) {
404 ui_test_utils::CrashTab(chrome::GetActiveWebContents(browser())); 404 ui_test_utils::CrashTab(chrome::GetActiveWebContents(browser()));
405 405
406 std::vector<linked_ptr<Event> > events = GetEvents(); 406 std::vector<linked_ptr<Event> > events = GetEvents();
407 407
408 ASSERT_EQ(1u, events.size()); 408 ASSERT_EQ(1u, events.size());
409 CheckEventType(EVENT_KILLED_BY_OS_CRASH, events[0]); 409 CheckEventType(EVENT_KILLED_BY_OS_CRASH, events[0]);
410 } 410 }
411 #endif // !defined(OS_WIN) 411 #endif // !defined(OS_WIN)
412 412
413 IN_PROC_BROWSER_TEST_F(PerformanceMonitorBrowserTest, RendererCrashEvent) { 413 IN_PROC_BROWSER_TEST_F(PerformanceMonitorBrowserTest,
414 DISABLED_RendererCrashEvent) {
414 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUICrashURL)); 415 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUICrashURL));
415 416
416 std::vector<linked_ptr<Event> > events = GetEvents(); 417 std::vector<linked_ptr<Event> > events = GetEvents();
417 ASSERT_EQ(1u, events.size()); 418 ASSERT_EQ(1u, events.size());
418 419
419 CheckEventType(EVENT_RENDERER_CRASH, events[0]); 420 CheckEventType(EVENT_RENDERER_CRASH, events[0]);
420 } 421 }
421 422
422 } // namespace performance_monitor 423 } // namespace performance_monitor
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/sync_internals/about.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698