OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/dom_ui/mediaplayer_ui.h" |
6 | 6 |
7 #include "app/l10n_util.h" | |
8 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
9 #include "base/logging.h" | 8 #include "base/logging.h" |
10 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
11 #include "base/path_service.h" | 10 #include "base/path_service.h" |
12 #include "base/singleton.h" | 11 #include "base/singleton.h" |
13 #include "base/string_piece.h" | 12 #include "base/string_piece.h" |
14 #include "base/string_util.h" | 13 #include "base/string_util.h" |
15 #include "base/thread.h" | 14 #include "base/thread.h" |
16 #include "base/time.h" | 15 #include "base/time.h" |
17 #include "base/values.h" | 16 #include "base/values.h" |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 new MediaplayerUIHTMLSource(is_playlist); | 629 new MediaplayerUIHTMLSource(is_playlist); |
631 | 630 |
632 // Set up the chrome://mediaplayer/ source. | 631 // Set up the chrome://mediaplayer/ source. |
633 ChromeThread::PostTask( | 632 ChromeThread::PostTask( |
634 ChromeThread::IO, FROM_HERE, | 633 ChromeThread::IO, FROM_HERE, |
635 NewRunnableMethod( | 634 NewRunnableMethod( |
636 Singleton<ChromeURLDataManager>::get(), | 635 Singleton<ChromeURLDataManager>::get(), |
637 &ChromeURLDataManager::AddDataSource, | 636 &ChromeURLDataManager::AddDataSource, |
638 make_scoped_refptr(html_source))); | 637 make_scoped_refptr(html_source))); |
639 } | 638 } |
OLD | NEW |