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

Side by Side Diff: chrome/common/favicon_url_parser.h

Issue 15388002: Supporting high dpi favicons in Instant Extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving reusable pieces to chrome/common Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698