OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/charger_replacement_ui.h" | 5 #include "chrome/browser/ui/webui/chromeos/charger_replacement_ui.h" |
6 | 6 |
7 #include "base/values.h" | 7 #include "base/values.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h" | 9 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h" |
10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 source->DisableContentSecurityPolicy(); | 27 source->DisableContentSecurityPolicy(); |
28 | 28 |
29 Profile* profile = Profile::FromWebUI(web_ui); | 29 Profile* profile = Profile::FromWebUI(web_ui); |
30 content::WebUIDataSource::Add(profile, source); | 30 content::WebUIDataSource::Add(profile, source); |
31 } | 31 } |
32 | 32 |
33 ChargerReplacementUI::~ChargerReplacementUI() { | 33 ChargerReplacementUI::~ChargerReplacementUI() { |
34 } | 34 } |
35 | 35 |
36 } // namespace chromeos | 36 } // namespace chromeos |
OLD | NEW |