Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
|
sreeram
2013/06/04 22:01:56
No "(c)".
pedro (no code reviews)
2013/06/07 23:34:21
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_FAVICON_URL_PARSER_H_ | |
| 6 #define CHROME_COMMON_FAVICON_URL_PARSER_H_ | |
| 7 | |
| 8 #include "ui/webui/web_ui_util.h" | |
|
sreeram
2013/06/04 22:01:56
Remove this include. Instead, add the following:
pedro (no code reviews)
2013/06/07 23:34:21
Done.
| |
| 9 | |
| 10 namespace chrome { | |
| 11 | |
| 12 // Parses |path|, which should be in the format described at the top of the | |
| 13 // file "chrome/browser/ui/webui/favicon_source.h". Returns true if |path| | |
| 14 // could be parsed. | |
|
sreeram
2013/06/04 22:01:56
Please also document |icon_types|, |supports_origi
pedro (no code reviews)
2013/06/07 23:34:21
Done.
| |
| 15 bool ParseFaviconPath(const std::string& path, | |
| 16 bool supports_origin_parameter, | |
| 17 int icon_types, | |
| 18 bool* is_icon_url, | |
| 19 std::string* url, | |
| 20 int* size_in_dip, | |
| 21 ui::ScaleFactor* scale_factor, | |
| 22 std::string* params); | |
|
sreeram
2013/06/04 22:01:56
Nit: Lines 16-22 should each be indented by one mo
pedro (no code reviews)
2013/06/07 23:34:21
Done.
| |
| 23 | |
| 24 } // namespace chrome | |
| 25 | |
| 26 #endif // CHROME_COMMON_FAVICON_URL_PARSER_H_ | |
| OLD | NEW |