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

Side by Side Diff: chrome/browser/chromeos/webui/imageburner_ui.cc

Issue 6594063: Update a bunch of files to the new location of browser_thread.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
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/chromeos/webui/imageburner_ui.h" 5 #include "chrome/browser/chromeos/webui/imageburner_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/singleton.h" 12 #include "base/singleton.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/browser_thread.h"
18 #include "chrome/browser/download/download_types.h" 17 #include "chrome/browser/download/download_types.h"
19 #include "chrome/browser/download/download_util.h" 18 #include "chrome/browser/download/download_util.h"
20 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/browser/tab_contents/tab_contents.h" 20 #include "chrome/browser/tab_contents/tab_contents.h"
22 #include "chrome/common/chrome_paths.h" 21 #include "chrome/common/chrome_paths.h"
23 #include "chrome/common/jstemplate_builder.h" 22 #include "chrome/common/jstemplate_builder.h"
24 #include "chrome/common/url_constants.h" 23 #include "chrome/common/url_constants.h"
24 #include "content/browser/browser_thread.h"
25 #include "grit/browser_resources.h" 25 #include "grit/browser_resources.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "grit/locale_settings.h" 27 #include "grit/locale_settings.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/base/resource/resource_bundle.h" 29 #include "ui/base/resource/resource_bundle.h"
30 30
31 static const char kPropertyPath[] = "path"; 31 static const char kPropertyPath[] = "path";
32 static const char kPropertyTitle[] = "title"; 32 static const char kPropertyTitle[] = "title";
33 static const char kPropertyDirectory[] = "isDirectory"; 33 static const char kPropertyDirectory[] = "isDirectory";
34 static const char kImageBaseURL[] = 34 static const char kImageBaseURL[] =
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 // 644 //
645 // ImageBurnUI 645 // ImageBurnUI
646 // 646 //
647 //////////////////////////////////////////////////////////////////////////////// 647 ////////////////////////////////////////////////////////////////////////////////
648 ImageBurnUI::ImageBurnUI(TabContents* contents) : WebUI(contents) { 648 ImageBurnUI::ImageBurnUI(TabContents* contents) : WebUI(contents) {
649 ImageBurnHandler* handler = new ImageBurnHandler(contents); 649 ImageBurnHandler* handler = new ImageBurnHandler(contents);
650 AddMessageHandler((handler)->Attach(this)); 650 AddMessageHandler((handler)->Attach(this));
651 ImageBurnUIHTMLSource* html_source = new ImageBurnUIHTMLSource(); 651 ImageBurnUIHTMLSource* html_source = new ImageBurnUIHTMLSource();
652 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); 652 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
653 } 653 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/version_loader.cc ('k') | chrome/browser/chromeos/webui/keyboard_overlay_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698