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

Side by Side Diff: chrome/browser/ui/views/create_application_shortcut_view.h

Issue 11777009: Remove redundant |errored| member from IconHostMsg_DidDownloadFavicon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 private: 94 private:
95 // Fetch the largest unprocessed icon. 95 // Fetch the largest unprocessed icon.
96 // The first largest icon downloaded and decoded successfully will be used. 96 // The first largest icon downloaded and decoded successfully will be used.
97 void FetchIcon(); 97 void FetchIcon();
98 98
99 // Favicon download callback. 99 // Favicon download callback.
100 void DidDownloadFavicon( 100 void DidDownloadFavicon(
101 int id, 101 int id,
102 const GURL& image_url, 102 const GURL& image_url,
103 bool errored,
104 int requested_size, 103 int requested_size,
105 const std::vector<SkBitmap>& bitmaps); 104 const std::vector<SkBitmap>& bitmaps);
106 105
107 // The tab whose URL is being turned into an app. 106 // The tab whose URL is being turned into an app.
108 content::WebContents* web_contents_; 107 content::WebContents* web_contents_;
109 108
110 // Pending app icon download tracked by us. 109 // Pending app icon download tracked by us.
111 int pending_download_id_; 110 int pending_download_id_;
112 111
113 // Unprocessed icons from the WebApplicationInfo passed in. 112 // Unprocessed icons from the WebApplicationInfo passed in.
(...skipping 19 matching lines...) Expand all
133 int index) OVERRIDE; 132 int index) OVERRIDE;
134 133
135 private: 134 private:
136 const extensions::Extension* app_; 135 const extensions::Extension* app_;
137 ImageLoadingTracker tracker_; 136 ImageLoadingTracker tracker_;
138 137
139 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView); 138 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView);
140 }; 139 };
141 140
142 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 141 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/balloon_view_ash.cc ('k') | chrome/browser/ui/views/create_application_shortcut_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698