| OLD | NEW |
| 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_FALLBACK_ICON_URL_PARSER_H_ | 5 #ifndef COMPONENTS_FAVICON_BASE_FALLBACK_ICON_URL_PARSER_H_ |
| 6 #define COMPONENTS_FAVICON_BASE_FALLBACK_ICON_URL_PARSER_H_ | 6 #define COMPONENTS_FAVICON_BASE_FALLBACK_ICON_URL_PARSER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "components/favicon_base/fallback_icon_style.h" | 14 #include "components/favicon_base/fallback_icon_style.h" |
| 13 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 14 | 16 |
| 15 namespace chrome { | 17 namespace chrome { |
| 16 | 18 |
| 17 class ParsedFallbackIconPath { | 19 class ParsedFallbackIconPath { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // The index of the first character (relative to the path) where the the URL | 65 // The index of the first character (relative to the path) where the the URL |
| 64 // from which the fallback icon is being requested is located. | 66 // from which the fallback icon is being requested is located. |
| 65 size_t path_index_; | 67 size_t path_index_; |
| 66 | 68 |
| 67 DISALLOW_COPY_AND_ASSIGN(ParsedFallbackIconPath); | 69 DISALLOW_COPY_AND_ASSIGN(ParsedFallbackIconPath); |
| 68 }; | 70 }; |
| 69 | 71 |
| 70 } // namespace chrome | 72 } // namespace chrome |
| 71 | 73 |
| 72 #endif // COMPONENTS_FAVICON_BASE_FALLBACK_ICON_URL_PARSER_H_ | 74 #endif // COMPONENTS_FAVICON_BASE_FALLBACK_ICON_URL_PARSER_H_ |
| OLD | NEW |