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

Side by Side Diff: components/url_formatter/elide_url.h

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/upload_list/upload_list_unittest.cc ('k') | components/url_formatter/elide_url.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 // This file defines utility functions for eliding URLs. 5 // This file defines utility functions for eliding URLs.
6 6
7 #ifndef COMPONENTS_URL_FORMATTER_ELIDE_URL_H_ 7 #ifndef COMPONENTS_URL_FORMATTER_ELIDE_URL_H_
8 #define COMPONENTS_URL_FORMATTER_ELIDE_URL_H_ 8 #define COMPONENTS_URL_FORMATTER_ELIDE_URL_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "build/build_config.h"
13 14
14 class GURL; 15 class GURL;
15 16
16 namespace gfx { 17 namespace gfx {
17 class FontList; 18 class FontList;
18 } 19 }
19 20
20 namespace url_formatter { 21 namespace url_formatter {
21 22
22 // ElideUrl and Elide host require 23 // ElideUrl and Elide host require
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Just like |FormatUrlForSecurityDisplay|, but also: 78 // Just like |FormatUrlForSecurityDisplay|, but also:
78 // 79 //
79 // - Omits the scheme if SchemeIsHTTPOrHTTPS(). 80 // - Omits the scheme if SchemeIsHTTPOrHTTPS().
80 base::string16 FormatUrlForSecurityDisplayOmitScheme( 81 base::string16 FormatUrlForSecurityDisplayOmitScheme(
81 const GURL& origin, 82 const GURL& origin,
82 const std::string& languages); 83 const std::string& languages);
83 84
84 } // namespace url_formatter 85 } // namespace url_formatter
85 86
86 #endif // COMPONENTS_URL_FORMATTER_ELIDE_URL_H_ 87 #endif // COMPONENTS_URL_FORMATTER_ELIDE_URL_H_
OLDNEW
« no previous file with comments | « components/upload_list/upload_list_unittest.cc ('k') | components/url_formatter/elide_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698