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

Side by Side Diff: chrome/browser/dom_ui/downloads_dom_handler.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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
« no previous file with comments | « chrome/browser/dom_ui/core_options_handler.cc ('k') | chrome/browser/dom_ui/fileicon_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/dom_ui/downloads_dom_handler.h" 5 #include "chrome/browser/dom_ui/downloads_dom_handler.h"
6 6
7 #include "app/l10n_util.h"
8 #include "base/basictypes.h" 7 #include "base/basictypes.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
10 #include "base/singleton.h" 9 #include "base/singleton.h"
11 #include "base/string_piece.h" 10 #include "base/string_piece.h"
12 #include "base/thread.h" 11 #include "base/thread.h"
13 #include "base/values.h" 12 #include "base/values.h"
14 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/chrome_thread.h" 14 #include "chrome/browser/chrome_thread.h"
16 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 15 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
17 #include "chrome/browser/dom_ui/fileicon_source.h" 16 #include "chrome/browser/dom_ui/fileicon_source.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 return NULL; 246 return NULL;
248 } 247 }
249 248
250 DownloadItem* DownloadsDOMHandler::GetDownloadByValue(const Value* value) { 249 DownloadItem* DownloadsDOMHandler::GetDownloadByValue(const Value* value) {
251 int id; 250 int id;
252 if (ExtractIntegerValue(value, &id)) { 251 if (ExtractIntegerValue(value, &id)) {
253 return GetDownloadById(id); 252 return GetDownloadById(id);
254 } 253 }
255 return NULL; 254 return NULL;
256 } 255 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/core_options_handler.cc ('k') | chrome/browser/dom_ui/fileicon_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698