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

Side by Side Diff: components/favicon_base/large_icon_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_LARGE_ICON_URL_PARSER_H_ 5 #ifndef COMPONENTS_FAVICON_BASE_LARGE_ICON_URL_PARSER_H_
6 #define COMPONENTS_FAVICON_BASE_LARGE_ICON_URL_PARSER_H_ 6 #define COMPONENTS_FAVICON_BASE_LARGE_ICON_URL_PARSER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
12 14
13 // A parser for parameters to the chrome://large-icon/ host. 15 // A parser for parameters to the chrome://large-icon/ host.
14 class LargeIconUrlParser { 16 class LargeIconUrlParser {
15 public: 17 public:
16 LargeIconUrlParser(); 18 LargeIconUrlParser();
17 ~LargeIconUrlParser(); 19 ~LargeIconUrlParser();
(...skipping 19 matching lines...) Expand all
37 int size_in_pixels_; 39 int size_in_pixels_;
38 40
39 // The index of the first character (relative to the path) where the the URL 41 // The index of the first character (relative to the path) where the the URL
40 // from which the large icon is being requested is located. 42 // from which the large icon is being requested is located.
41 size_t path_index_; 43 size_t path_index_;
42 44
43 DISALLOW_COPY_AND_ASSIGN(LargeIconUrlParser); 45 DISALLOW_COPY_AND_ASSIGN(LargeIconUrlParser);
44 }; 46 };
45 47
46 #endif // COMPONENTS_FAVICON_BASE_LARGE_ICON_URL_PARSER_H_ 48 #endif // COMPONENTS_FAVICON_BASE_LARGE_ICON_URL_PARSER_H_
OLDNEW
« no previous file with comments | « components/favicon_base/favicon_util.cc ('k') | components/favicon_base/large_icon_url_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698