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

Side by Side Diff: chrome/test/ui/ui_test.h

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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
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 CHROME_TEST_UI_UI_TEST_H_ 5 #ifndef CHROME_TEST_UI_UI_TEST_H_
6 #define CHROME_TEST_UI_UI_TEST_H_ 6 #define CHROME_TEST_UI_UI_TEST_H_
7 7
8 // This file provides a common base for running UI unit tests, which operate 8 // This file provides a common base for running UI unit tests, which operate
9 // the entire browser application in a separate process for holistic 9 // the entire browser application in a separate process for holistic
10 // functional testing. 10 // functional testing.
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 // Terminates the browser, simulates end of session. 421 // Terminates the browser, simulates end of session.
422 void TerminateBrowser(); 422 void TerminateBrowser();
423 423
424 // Tells the browser to navigate to the given URL in the active tab 424 // Tells the browser to navigate to the given URL in the active tab
425 // of the first app window. 425 // of the first app window.
426 // Does not wait for the navigation to complete to return. 426 // Does not wait for the navigation to complete to return.
427 // To avoid intermittent test failures, use NavigateToURL instead, if 427 // To avoid intermittent test failures, use NavigateToURL instead, if
428 // possible. 428 // possible.
429 void NavigateToURLAsync(const GURL& url); 429 void NavigateToURLAsync(const GURL& url);
430 430
431 private:
Mattias Nissler (ping if slow) 2012/10/22 17:28:21 I guess the idea here was to use MessageLoop::curr
432 MessageLoop message_loop_; // Enables PostTask to main thread. 431 MessageLoop message_loop_; // Enables PostTask to main thread.
433 }; 432 };
434 433
435 // These exist only to support the gTest assertion macros, and 434 // These exist only to support the gTest assertion macros, and
436 // shouldn't be used in normal program code. 435 // shouldn't be used in normal program code.
437 #ifdef UNIT_TEST 436 #ifdef UNIT_TEST
438 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr); 437 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr);
439 438
440 template<typename T> 439 template<typename T>
441 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) { 440 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) {
442 return out << ptr.get(); 441 return out << ptr.get();
443 } 442 }
444 #endif // UNIT_TEST 443 #endif // UNIT_TEST
445 444
446 #endif // CHROME_TEST_UI_UI_TEST_H_ 445 #endif // CHROME_TEST_UI_UI_TEST_H_
OLDNEW
« chrome/service/service_process_prefs_unittest.cc ('K') | « chrome/test/reliability/page_load_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698