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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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/choose_mobile_network_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 10 matching lines...) Expand all
21 #include "chromeos/network/network_event_log.h" 21 #include "chromeos/network/network_event_log.h"
22 #include "chromeos/network/network_state_handler.h" 22 #include "chromeos/network/network_state_handler.h"
23 #include "chromeos/network/network_state_handler_observer.h" 23 #include "chromeos/network/network_state_handler_observer.h"
24 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
25 #include "content/public/browser/web_ui.h" 25 #include "content/public/browser/web_ui.h"
26 #include "content/public/browser/web_ui_data_source.h" 26 #include "content/public/browser/web_ui_data_source.h"
27 #include "content/public/browser/web_ui_message_handler.h" 27 #include "content/public/browser/web_ui_message_handler.h"
28 #include "grit/browser_resources.h" 28 #include "grit/browser_resources.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 #include "third_party/cros_system_api/dbus/service_constants.h" 30 #include "third_party/cros_system_api/dbus/service_constants.h"
31 #include "ui/base/l10n/l10n_util.h"
32 #include "ui/base/resource/resource_bundle.h"
33 31
34 using content::WebContents; 32 using content::WebContents;
35 using content::WebUIMessageHandler; 33 using content::WebUIMessageHandler;
36 34
37 namespace chromeos { 35 namespace chromeos {
38 36
39 namespace { 37 namespace {
40 38
41 // JS API callbacks names. 39 // JS API callbacks names.
42 const char kJsApiCancel[] = "cancel"; 40 const char kJsApiCancel[] = "cancel";
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 : WebUIController(web_ui) { 257 : WebUIController(web_ui) {
260 ChooseMobileNetworkHandler* handler = new ChooseMobileNetworkHandler(); 258 ChooseMobileNetworkHandler* handler = new ChooseMobileNetworkHandler();
261 web_ui->AddMessageHandler(handler); 259 web_ui->AddMessageHandler(handler);
262 // Set up the "chrome://choose-mobile-network" source. 260 // Set up the "chrome://choose-mobile-network" source.
263 Profile* profile = Profile::FromWebUI(web_ui); 261 Profile* profile = Profile::FromWebUI(web_ui);
264 content::WebUIDataSource::Add( 262 content::WebUIDataSource::Add(
265 profile, CreateChooseMobileNetworkUIHTMLSource()); 263 profile, CreateChooseMobileNetworkUIHTMLSource());
266 } 264 }
267 265
268 } // namespace chromeos 266 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.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