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

Side by Side Diff: chrome/browser/ui/webui/downloads_dom_handler.cc

Issue 15949029: Use a direct include of utf_string_conversions.h in chrome/browser/ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 #include "chrome/browser/ui/webui/downloads_dom_handler.h" 5 #include "chrome/browser/ui/webui/downloads_dom_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "base/i18n/time_formatting.h" 14 #include "base/i18n/time_formatting.h"
15 #include "base/memory/singleton.h" 15 #include "base/memory/singleton.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
17 #include "base/prefs/pref_service.h" 17 #include "base/prefs/pref_service.h"
18 #include "base/strings/string_piece.h" 18 #include "base/strings/string_piece.h"
19 #include "base/strings/utf_string_conversions.h"
19 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
20 #include "base/utf_string_conversions.h"
21 #include "base/value_conversions.h" 21 #include "base/value_conversions.h"
22 #include "base/values.h" 22 #include "base/values.h"
23 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
24 #include "chrome/browser/download/download_crx_util.h" 24 #include "chrome/browser/download/download_crx_util.h"
25 #include "chrome/browser/download/download_danger_prompt.h" 25 #include "chrome/browser/download/download_danger_prompt.h"
26 #include "chrome/browser/download/download_history.h" 26 #include "chrome/browser/download/download_history.h"
27 #include "chrome/browser/download/download_item_model.h" 27 #include "chrome/browser/download/download_item_model.h"
28 #include "chrome/browser/download/download_prefs.h" 28 #include "chrome/browser/download/download_prefs.h"
29 #include "chrome/browser/download/download_query.h" 29 #include "chrome/browser/download/download_query.h"
30 #include "chrome/browser/download/download_service.h" 30 #include "chrome/browser/download/download_service.h"
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 } 541 }
542 542
543 void DownloadsDOMHandler::CallDownloadsList(const base::ListValue& downloads) { 543 void DownloadsDOMHandler::CallDownloadsList(const base::ListValue& downloads) {
544 web_ui()->CallJavascriptFunction("downloadsList", downloads); 544 web_ui()->CallJavascriptFunction("downloadsList", downloads);
545 } 545 }
546 546
547 void DownloadsDOMHandler::CallDownloadUpdated( 547 void DownloadsDOMHandler::CallDownloadUpdated(
548 const base::ListValue& download_item) { 548 const base::ListValue& download_item) {
549 web_ui()->CallJavascriptFunction("downloadUpdated", download_item); 549 web_ui()->CallJavascriptFunction("downloadUpdated", download_item);
550 } 550 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/crashes_ui.cc ('k') | chrome/browser/ui/webui/extensions/extension_info_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698