OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/slideshow_ui.h" | 5 #include "chrome/browser/dom_ui/slideshow_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/callback.h" | 8 #include "base/callback.h" |
10 #include "base/logging.h" | 9 #include "base/logging.h" |
11 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
12 #include "base/path_service.h" | 11 #include "base/path_service.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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 SlideshowUIHTMLSource* html_source = new SlideshowUIHTMLSource(); | 312 SlideshowUIHTMLSource* html_source = new SlideshowUIHTMLSource(); |
314 | 313 |
315 // Set up the chrome://slideshow/ source. | 314 // Set up the chrome://slideshow/ source. |
316 ChromeThread::PostTask( | 315 ChromeThread::PostTask( |
317 ChromeThread::IO, FROM_HERE, | 316 ChromeThread::IO, FROM_HERE, |
318 NewRunnableMethod( | 317 NewRunnableMethod( |
319 Singleton<ChromeURLDataManager>::get(), | 318 Singleton<ChromeURLDataManager>::get(), |
320 &ChromeURLDataManager::AddDataSource, | 319 &ChromeURLDataManager::AddDataSource, |
321 make_scoped_refptr(html_source))); | 320 make_scoped_refptr(html_source))); |
322 } | 321 } |
OLD | NEW |