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

Side by Side Diff: chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.cc

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/chromeos/diagnostics/diagnostics_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" 11 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "chromeos/dbus/debug_daemon_client.h" 13 #include "chromeos/dbus/debug_daemon_client.h"
14 #include "chromeos/dbus/dbus_thread_manager.h" 14 #include "chromeos/dbus/dbus_thread_manager.h"
15 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/web_ui.h" 15 #include "content/public/browser/web_ui.h"
17 #include "content/public/browser/web_ui_message_handler.h" 16 #include "content/public/browser/web_ui_message_handler.h"
18 #include "grit/browser_resources.h" 17 #include "grit/browser_resources.h"
19 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
20 19
21 namespace chromeos { 20 namespace chromeos {
22 21
23 namespace { 22 namespace {
24 23
25 // JS API callback names. 24 // JS API callback names.
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 source->AddLocalizedString("fix-no-ip-3g", 174 source->AddLocalizedString("fix-no-ip-3g",
176 IDS_DIAGNOSTICS_FIX_NO_IP_3G); 175 IDS_DIAGNOSTICS_FIX_NO_IP_3G);
177 source->AddLocalizedString("fix-gateway-connection", 176 source->AddLocalizedString("fix-gateway-connection",
178 IDS_DIAGNOSTICS_FIX_GATEWAY_CONNECTION); 177 IDS_DIAGNOSTICS_FIX_GATEWAY_CONNECTION);
179 source->set_default_resource(IDR_DIAGNOSTICS_MAIN_HTML); 178 source->set_default_resource(IDR_DIAGNOSTICS_MAIN_HTML);
180 179
181 Profile* profile = Profile::FromWebUI(web_ui); 180 Profile* profile = Profile::FromWebUI(web_ui);
182 ChromeURLDataManager::AddDataSource(profile, source); 181 ChromeURLDataManager::AddDataSource(profile, source);
183 } 182 }
184 183
185 } // namespace chromeos 184 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc ('k') | chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698