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

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

Issue 6531028: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 2. (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
« no previous file with comments | « chrome/browser/webui/bug_report_ui.h ('k') | chrome/browser/webui/gpu_internals_ui.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) 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/dom_ui/bug_report_ui.h" 5 #include "chrome/browser/webui/bug_report_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/singleton.h" 14 #include "base/singleton.h"
15 #include "base/string_number_conversions.h" 15 #include "base/string_number_conversions.h"
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 BugReportHandler* handler = new BugReportHandler(tab); 736 BugReportHandler* handler = new BugReportHandler(tab);
737 AddMessageHandler((handler)->Attach(this)); 737 AddMessageHandler((handler)->Attach(this));
738 738
739 // The handler's init will specify which html 739 // The handler's init will specify which html
740 // resource we'll display to the user 740 // resource we'll display to the user
741 BugReportUIHTMLSource* html_source = 741 BugReportUIHTMLSource* html_source =
742 new BugReportUIHTMLSource(handler->Init()); 742 new BugReportUIHTMLSource(handler->Init());
743 // Set up the chrome://bugreport/ source. 743 // Set up the chrome://bugreport/ source.
744 tab->profile()->GetChromeURLDataManager()->AddDataSource(html_source); 744 tab->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
745 } 745 }
OLDNEW
« no previous file with comments | « chrome/browser/webui/bug_report_ui.h ('k') | chrome/browser/webui/gpu_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698