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

Side by Side Diff: components/favicon_base/favicon_url_parser.h

Issue 1546143002: Switch to standard integer types in components/, 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_ 5 #ifndef COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_
6 #define COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_ 6 #define COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 namespace chrome { 12 namespace chrome {
11 13
12 struct ParsedFaviconPath { 14 struct ParsedFaviconPath {
13 // Whether the URL has the "iconurl" parameter. 15 // Whether the URL has the "iconurl" parameter.
14 bool is_icon_url; 16 bool is_icon_url;
15 17
16 // The URL from which the favicon is being requested. 18 // The URL from which the favicon is being requested.
17 std::string url; 19 std::string url;
(...skipping 13 matching lines...) Expand all
31 // file "chrome/browser/ui/webui/favicon_source.h". |icon_types| indicates 33 // file "chrome/browser/ui/webui/favicon_source.h". |icon_types| indicates
32 // which icon types are supported. Returns true if |path| could be parsed. 34 // which icon types are supported. Returns true if |path| could be parsed.
33 // The result of the parsing will be stored in a ParsedFaviconPath struct. 35 // The result of the parsing will be stored in a ParsedFaviconPath struct.
34 bool ParseFaviconPath(const std::string& path, 36 bool ParseFaviconPath(const std::string& path,
35 int icon_types, 37 int icon_types,
36 ParsedFaviconPath* parsed); 38 ParsedFaviconPath* parsed);
37 39
38 } // namespace chrome 40 } // namespace chrome
39 41
40 #endif // COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_ 42 #endif // COMPONENTS_FAVICON_BASE_FAVICON_URL_PARSER_H_
OLDNEW
« no previous file with comments | « components/favicon_base/favicon_types.h ('k') | components/favicon_base/favicon_url_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698