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

Side by Side Diff: chrome/test/base/web_ui_browser_test.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/web_ui_browser_test.h" 5 #include "chrome/test/base/web_ui_browser_test.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/macros.h"
11 #include "base/memory/ref_counted_memory.h" 14 #include "base/memory/ref_counted_memory.h"
12 #include "base/path_service.h" 15 #include "base/path_service.h"
13 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
15 #include "base/values.h" 18 #include "base/values.h"
16 #include "chrome/browser/chrome_content_browser_client.h" 19 #include "chrome/browser/chrome_content_browser_client.h"
17 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/ui/browser.h" 21 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/ui/browser_commands.h" 22 #include "chrome/browser/ui/browser_commands.h"
20 #include "chrome/browser/ui/browser_navigator_params.h" 23 #include "chrome/browser/ui/browser_navigator_params.h"
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } 480 }
478 481
479 GURL WebUIBrowserTest::WebUITestDataPathToURL( 482 GURL WebUIBrowserTest::WebUITestDataPathToURL(
480 const base::FilePath::StringType& path) { 483 const base::FilePath::StringType& path) {
481 base::FilePath dir_test_data; 484 base::FilePath dir_test_data;
482 EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &dir_test_data)); 485 EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &dir_test_data));
483 base::FilePath test_path(dir_test_data.Append(kWebUITestFolder).Append(path)); 486 base::FilePath test_path(dir_test_data.Append(kWebUITestFolder).Append(path));
484 EXPECT_TRUE(base::PathExists(test_path)); 487 EXPECT_TRUE(base::PathExists(test_path));
485 return net::FilePathToFileURL(test_path); 488 return net::FilePathToFileURL(test_path);
486 } 489 }
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_platform_part_mac.mm ('k') | chrome/test/base/web_ui_browser_test_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698