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

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

Issue 6532045: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 4. (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/mediaplayer_ui.h ('k') | chrome/browser/webui/net_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/mediaplayer_ui.h" 5 #include "chrome/browser/webui/mediaplayer_ui.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "base/string_piece.h" 12 #include "base/string_piece.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "base/time.h" 15 #include "base/time.h"
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 } else { 604 } else {
605 handler->Init(false, contents); 605 handler->Init(false, contents);
606 } 606 }
607 607
608 MediaplayerUIHTMLSource* html_source = 608 MediaplayerUIHTMLSource* html_source =
609 new MediaplayerUIHTMLSource(is_playlist); 609 new MediaplayerUIHTMLSource(is_playlist);
610 610
611 // Set up the chrome://mediaplayer/ source. 611 // Set up the chrome://mediaplayer/ source.
612 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); 612 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
613 } 613 }
OLDNEW
« no previous file with comments | « chrome/browser/webui/mediaplayer_ui.h ('k') | chrome/browser/webui/net_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698