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

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

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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
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/sim_unlock_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/sim_unlock_ui.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted_memory.h" 17 #include "base/memory/ref_counted_memory.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/message_loop/message_loop.h" 19 #include "base/message_loop/message_loop.h"
20 #include "base/strings/string_piece.h" 20 #include "base/strings/string_piece.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/browser/browser_process.h" 22 #include "chrome/browser/browser_process.h"
23 #include "chrome/browser/chromeos/sim_dialog_delegate.h" 23 #include "chrome/browser/chromeos/sim_dialog_delegate.h"
24 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/common/url_constants.h" 25 #include "chrome/common/url_constants.h"
26 #include "chrome/grit/browser_resources.h"
26 #include "chrome/grit/generated_resources.h" 27 #include "chrome/grit/generated_resources.h"
27 #include "chromeos/network/device_state.h" 28 #include "chromeos/network/device_state.h"
28 #include "chromeos/network/network_device_handler.h" 29 #include "chromeos/network/network_device_handler.h"
29 #include "chromeos/network/network_event_log.h" 30 #include "chromeos/network/network_event_log.h"
30 #include "chromeos/network/network_state_handler.h" 31 #include "chromeos/network/network_state_handler.h"
31 #include "chromeos/network/network_state_handler_observer.h" 32 #include "chromeos/network/network_state_handler_observer.h"
33 #include "components/strings/grit/components_strings.h"
32 #include "content/public/browser/browser_thread.h" 34 #include "content/public/browser/browser_thread.h"
33 #include "content/public/browser/url_data_source.h" 35 #include "content/public/browser/url_data_source.h"
34 #include "content/public/browser/web_contents.h" 36 #include "content/public/browser/web_contents.h"
35 #include "content/public/browser/web_ui.h" 37 #include "content/public/browser/web_ui.h"
36 #include "content/public/browser/web_ui_message_handler.h" 38 #include "content/public/browser/web_ui_message_handler.h"
37 #include "grit/browser_resources.h"
38 #include "grit/components_strings.h"
39 #include "third_party/cros_system_api/dbus/service_constants.h" 39 #include "third_party/cros_system_api/dbus/service_constants.h"
40 #include "ui/base/l10n/l10n_util.h" 40 #include "ui/base/l10n/l10n_util.h"
41 #include "ui/base/resource/resource_bundle.h" 41 #include "ui/base/resource/resource_bundle.h"
42 #include "ui/base/webui/jstemplate_builder.h" 42 #include "ui/base/webui/jstemplate_builder.h"
43 #include "ui/base/webui/web_ui_util.h" 43 #include "ui/base/webui/web_ui_util.h"
44 44
45 using content::BrowserThread; 45 using content::BrowserThread;
46 using content::WebContents; 46 using content::WebContents;
47 using content::WebUIMessageHandler; 47 using content::WebUIMessageHandler;
48 48
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 SimUnlockHandler* handler = new SimUnlockHandler(); 764 SimUnlockHandler* handler = new SimUnlockHandler();
765 web_ui->AddMessageHandler(handler); 765 web_ui->AddMessageHandler(handler);
766 SimUnlockUIHTMLSource* html_source = new SimUnlockUIHTMLSource(); 766 SimUnlockUIHTMLSource* html_source = new SimUnlockUIHTMLSource();
767 767
768 // Set up the chrome://sim-unlock/ source. 768 // Set up the chrome://sim-unlock/ source.
769 Profile* profile = Profile::FromWebUI(web_ui); 769 Profile* profile = Profile::FromWebUI(web_ui);
770 content::URLDataSource::Add(profile, html_source); 770 content::URLDataSource::Add(profile, html_source);
771 } 771 }
772 772
773 } // namespace chromeos 773 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698