| Index: components/favicon_base/large_icon_url_parser.h
|
| diff --git a/components/favicon_base/large_icon_url_parser.h b/components/favicon_base/large_icon_url_parser.h
|
| index 3d60b76b45157e32f505cb82e4fadc3f12763b99..4fc53fb22839b82689ace786a0ebce054c4f598b 100644
|
| --- a/components/favicon_base/large_icon_url_parser.h
|
| +++ b/components/favicon_base/large_icon_url_parser.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/strings/string_piece.h"
|
| +#include "components/favicon_base/fallback_icon_style.h"
|
|
|
| // A parser for parameters to the chrome://large-icon/ host.
|
| class LargeIconUrlParser {
|
| @@ -22,10 +23,14 @@ class LargeIconUrlParser {
|
|
|
| size_t path_index() const { return path_index_; }
|
|
|
| + const favicon_base::FallbackIconStyle& fallback_icon_style() const {
|
| + return fallback_icon_style_;
|
| + }
|
| +
|
| // Parses |path|, which should be in the format described at the top of the
|
| // file "chrome/browser/ui/webui/large_icon_source.h". Note that |path| does
|
| // not have leading '/'.
|
| - bool Parse(base::StringPiece path);
|
| + bool Parse(std::string path);
|
|
|
| private:
|
| friend class LargeIconUrlParserTest;
|
| @@ -40,6 +45,9 @@ class LargeIconUrlParser {
|
| // from which the large icon is being requested is located.
|
| size_t path_index_;
|
|
|
| + // Styling specifications of fallback icon.
|
| + favicon_base::FallbackIconStyle fallback_icon_style_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LargeIconUrlParser);
|
| };
|
|
|
|
|