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

Side by Side Diff: chrome/browser/webui/crashes_ui.cc

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/webui/crashes_ui.h" 5 #include "chrome/browser/webui/crashes_ui.h"
6 6
7 #include "base/i18n/time_formatting.h" 7 #include "base/i18n/time_formatting.h"
8 #include "base/ref_counted_memory.h" 8 #include "base/ref_counted_memory.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/crash_upload_list.h" 11 #include "chrome/browser/crash_upload_list.h"
12 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 12 #include "chrome/browser/webui/chrome_url_data_manager.h"
13 #include "chrome/browser/prefs/pref_service.h" 13 #include "chrome/browser/prefs/pref_service.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 15 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "chrome/common/jstemplate_builder.h" 16 #include "chrome/common/jstemplate_builder.h"
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "grit/browser_resources.h" 19 #include "grit/browser_resources.h"
20 #include "grit/chromium_strings.h" 20 #include "grit/chromium_strings.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 #include "grit/theme_resources.h" 22 #include "grit/theme_resources.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 // Set up the chrome://crashes/ source. 206 // Set up the chrome://crashes/ source.
207 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); 207 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
208 } 208 }
209 209
210 // static 210 // static
211 RefCountedMemory* CrashesUI::GetFaviconResourceBytes() { 211 RefCountedMemory* CrashesUI::GetFaviconResourceBytes() {
212 return ResourceBundle::GetSharedInstance(). 212 return ResourceBundle::GetSharedInstance().
213 LoadDataResourceBytes(IDR_SAD_FAVICON); 213 LoadDataResourceBytes(IDR_SAD_FAVICON);
214 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/webui/constrained_html_ui.cc ('k') | chrome/browser/webui/downloads_dom_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698