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

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

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 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 | « chrome/test/testing_profile.h ('k') | chrome/test/ui_test_utils.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/ui_test.h" 5 #include "chrome/test/ui/ui_test.h"
6 6
7 #if defined(OS_POSIX) 7 #if defined(OS_POSIX)
8 #include <signal.h> 8 #include <signal.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #endif 10 #endif
11 11
12 #include <set> 12 #include <set>
13 #include <vector> 13 #include <vector>
14 14
15 #include "app/sql/connection.h" 15 #include "app/sql/connection.h"
16 #include "base/base_switches.h" 16 #include "base/base_switches.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/environment.h" 18 #include "base/environment.h"
19 #include "base/file_path.h" 19 #include "base/file_path.h"
20 #include "base/file_util.h" 20 #include "base/file_util.h"
21 #include "base/memory/scoped_ptr.h" 21 #include "base/memory/scoped_ptr.h"
22 #include "base/memory/scoped_temp_dir.h"
23 #include "base/path_service.h" 22 #include "base/path_service.h"
24 #include "base/process_util.h" 23 #include "base/process_util.h"
24 #include "base/scoped_temp_dir.h"
25 #include "base/string_number_conversions.h" 25 #include "base/string_number_conversions.h"
26 #include "base/string_split.h" 26 #include "base/string_split.h"
27 #include "base/test/test_file_util.h" 27 #include "base/test/test_file_util.h"
28 #include "base/test/test_timeouts.h" 28 #include "base/test/test_timeouts.h"
29 #include "base/threading/platform_thread.h" 29 #include "base/threading/platform_thread.h"
30 #include "base/time.h" 30 #include "base/time.h"
31 #include "base/utf_string_conversions.h" 31 #include "base/utf_string_conversions.h"
32 #include "chrome/app/chrome_command_ids.h" 32 #include "chrome/app/chrome_command_ids.h"
33 #include "chrome/browser/net/url_fixer_upper.h" 33 #include "chrome/browser/net/url_fixer_upper.h"
34 #include "chrome/common/automation_messages.h" 34 #include "chrome/common/automation_messages.h"
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms() / kCycles); 848 base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms() / kCycles);
849 } 849 }
850 850
851 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() 851 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF()
852 << " seconds" 852 << " seconds"
853 << " call failed " << fail_count << " times" 853 << " call failed " << fail_count << " times"
854 << " state was incorrect " << incorrect_state_count << " times"; 854 << " state was incorrect " << incorrect_state_count << " times";
855 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; 855 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__;
856 return false; 856 return false;
857 } 857 }
OLDNEW
« no previous file with comments | « chrome/test/testing_profile.h ('k') | chrome/test/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698