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

Side by Side Diff: content/test/layout_browsertest.cc

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « content/test/layout_browsertest.h ('k') | content/test/test_content_browser_client.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) 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 "content/test/layout_browsertest.h" 5 #include "content/test/layout_browsertest.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/scoped_temp_dir.h"
12 #include "base/path_service.h" 13 #include "base/path_service.h"
13 #include "base/rand_util.h" 14 #include "base/rand_util.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/scoped_temp_dir.h" 16 #include "base/string_util.h"
16 #include "base/stringprintf.h" 17 #include "base/stringprintf.h"
17 #include "base/string_util.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "content/browser/web_contents/web_contents_impl.h" 19 #include "content/browser/web_contents/web_contents_impl.h"
20 #include "content/public/common/content_paths.h" 20 #include "content/public/common/content_paths.h"
21 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
22 #include "content/public/test/browser_test_utils.h" 22 #include "content/public/test/browser_test_utils.h"
23 #include "content/shell/shell.h" 23 #include "content/shell/shell.h"
24 #include "content/shell/shell_switches.h" 24 #include "content/shell/shell_switches.h"
25 #include "content/shell/webkit_test_runner_host.h" 25 #include "content/shell/webkit_test_runner_host.h"
26 #include "content/test/content_browser_test_utils.h" 26 #include "content/test/content_browser_test_utils.h"
27 #include "content/test/layout_test_http_server.h" 27 #include "content/test/layout_test_http_server.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 expected.size())); 201 expected.size()));
202 EXPECT_NE(-1, file_util::WriteFile(actual_filename, 202 EXPECT_NE(-1, file_util::WriteFile(actual_filename,
203 actual.c_str(), 203 actual.c_str(),
204 actual.size())); 204 actual.size()));
205 return StringPrintf("Wrote %"PRFilePath" %"PRFilePath, 205 return StringPrintf("Wrote %"PRFilePath" %"PRFilePath,
206 expected_filename.value().c_str(), 206 expected_filename.value().c_str(),
207 actual_filename.value().c_str()); 207 actual_filename.value().c_str());
208 } 208 }
209 209
210 } // namespace content 210 } // namespace content
OLDNEW
« no previous file with comments | « content/test/layout_browsertest.h ('k') | content/test/test_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698