| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |