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

Side by Side Diff: components/url_formatter/elide_url_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 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 | « components/url_formatter/elide_url.cc ('k') | components/url_formatter/url_fixer.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 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 "components/url_formatter/elide_url.h" 5 #include "components/url_formatter/elide_url.h"
6 6
7 #include <stddef.h>
8
7 #include "base/ios/ios_util.h" 9 #include "base/ios/ios_util.h"
10 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h"
9 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
10 #include "url/gurl.h" 14 #include "url/gurl.h"
11 15
12 #if !defined(OS_ANDROID) 16 #if !defined(OS_ANDROID)
13 #include "ui/gfx/font_list.h" // nogncheck 17 #include "ui/gfx/font_list.h" // nogncheck
14 #include "ui/gfx/text_elider.h" // nogncheck 18 #include "ui/gfx/text_elider.h" // nogncheck
15 #include "ui/gfx/text_utils.h" // nogncheck 19 #include "ui/gfx/text_utils.h" // nogncheck
16 #endif 20 #endif
17 21
18 namespace { 22 namespace {
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 << "Explicitly test the 0-argument GURL constructor"; 361 << "Explicitly test the 0-argument GURL constructor";
358 362
359 base::string16 formatted_omit_scheme = 363 base::string16 formatted_omit_scheme =
360 url_formatter::FormatUrlForSecurityDisplayOmitScheme(GURL(), 364 url_formatter::FormatUrlForSecurityDisplayOmitScheme(GURL(),
361 std::string()); 365 std::string());
362 EXPECT_EQ(base::string16(), formatted_omit_scheme) 366 EXPECT_EQ(base::string16(), formatted_omit_scheme)
363 << "Explicitly test the 0-argument GURL constructor"; 367 << "Explicitly test the 0-argument GURL constructor";
364 } 368 }
365 369
366 } // namespace 370 } // namespace
OLDNEW
« no previous file with comments | « components/url_formatter/elide_url.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698