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

Side by Side Diff: chrome/browser/download/download_util.h

Issue 19800005: Hide knowledge of webkit::ppapi::PluginDelegate from chrome. This is part of moving ppapi implement… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 // Download utilities. 5 // Download utilities.
6 6
7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // The download was initiated by the WebStore installer. 177 // The download was initiated by the WebStore installer.
178 INITIATED_BY_WEBSTORE_INSTALLER, 178 INITIATED_BY_WEBSTORE_INSTALLER,
179 179
180 // The download was initiated by the ImageBurner (cros). 180 // The download was initiated by the ImageBurner (cros).
181 INITIATED_BY_IMAGE_BURNER, 181 INITIATED_BY_IMAGE_BURNER,
182 182
183 // The download was initiated by the plugin installer. 183 // The download was initiated by the plugin installer.
184 INITIATED_BY_PLUGIN_INSTALLER, 184 INITIATED_BY_PLUGIN_INSTALLER,
185 185
186 // The download was initiated by the PDF plugin..
187 INITIATED_BY_PDF_SAVE,
188
186 CHROME_DOWNLOAD_SOURCE_LAST_ENTRY, 189 CHROME_DOWNLOAD_SOURCE_LAST_ENTRY,
187 }; 190 };
188 191
189 // Increment one of the above counts. 192 // Increment one of the above counts.
190 void RecordDownloadCount(ChromeDownloadCountTypes type); 193 void RecordDownloadCount(ChromeDownloadCountTypes type);
191 194
192 // Record initiation of a download from a specific source. 195 // Record initiation of a download from a specific source.
193 void RecordDownloadSource(ChromeDownloadSource source); 196 void RecordDownloadSource(ChromeDownloadSource source);
194 197
195 } // namespace download_util 198 } // namespace download_util
196 199
197 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 200 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | chrome/renderer/pepper/ppb_pdf_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698