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

Side by Side Diff: chrome/browser/browser_about_handler_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_commands_unittest.cc » ('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 "base/basictypes.h" 5 #include <stddef.h>
6
7 #include "base/macros.h"
6 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
7 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
8 #include "chrome/browser/browser_about_handler.h" 10 #include "chrome/browser/browser_about_handler.h"
9 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
10 #include "chrome/test/base/testing_profile.h" 12 #include "chrome/test/base/testing_profile.h"
11 #include "content/public/browser/navigation_controller.h" 13 #include "content/public/browser/navigation_controller.h"
12 #include "content/public/browser/navigation_entry.h" 14 #include "content/public/browser/navigation_entry.h"
13 #include "content/public/common/referrer.h" 15 #include "content/public/common/referrer.h"
14 #include "content/public/test/test_browser_thread.h" 16 #include "content/public/test/test_browser_thread.h"
15 #include "content/public/test/test_browser_thread_bundle.h" 17 #include "content/public/test/test_browser_thread_bundle.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // virtual URL. 97 // virtual URL.
96 GURL rewritten_url("http://foo/"); 98 GURL rewritten_url("http://foo/");
97 99
98 TestingProfile profile; 100 TestingProfile profile;
99 scoped_ptr<NavigationEntry> entry(NavigationController::CreateNavigationEntry( 101 scoped_ptr<NavigationEntry> entry(NavigationController::CreateNavigationEntry(
100 url, Referrer(), ui::PAGE_TRANSITION_RELOAD, false, std::string(), 102 url, Referrer(), ui::PAGE_TRANSITION_RELOAD, false, std::string(),
101 &profile)); 103 &profile));
102 EXPECT_EQ(fixed_url, entry->GetVirtualURL()); 104 EXPECT_EQ(fixed_url, entry->GetVirtualURL());
103 EXPECT_EQ(rewritten_url, entry->GetURL()); 105 EXPECT_EQ(rewritten_url, entry->GetURL());
104 } 106 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_commands_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698