OLD | NEW |
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/chromeos/customization_document.h" | 5 #include "chrome/browser/chromeos/customization_document.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/prefs/pref_registry_simple.h" |
| 14 #include "base/prefs/pref_service.h" |
13 #include "base/string_util.h" | 15 #include "base/string_util.h" |
14 #include "base/time.h" | 16 #include "base/time.h" |
15 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
16 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/chromeos/cros/cros_library.h" | 19 #include "chrome/browser/chromeos/cros/cros_library.h" |
18 #include "chrome/browser/chromeos/cros/network_library.h" | 20 #include "chrome/browser/chromeos/cros/network_library.h" |
19 #include "chrome/browser/chromeos/login/wizard_controller.h" | 21 #include "chrome/browser/chromeos/login/wizard_controller.h" |
20 #include "chrome/browser/chromeos/system/statistics_provider.h" | 22 #include "chrome/browser/chromeos/system/statistics_provider.h" |
21 #include "chrome/browser/prefs/pref_registry_simple.h" | |
22 #include "chrome/browser/prefs/pref_service.h" | |
23 #include "chrome/browser/profiles/profile_manager.h" | 23 #include "chrome/browser/profiles/profile_manager.h" |
24 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
25 #include "net/url_request/url_fetcher.h" | 25 #include "net/url_request/url_fetcher.h" |
26 | 26 |
27 using content::BrowserThread; | 27 using content::BrowserThread; |
28 | 28 |
29 // Manifest attributes names. | 29 // Manifest attributes names. |
30 | 30 |
31 namespace { | 31 namespace { |
32 | 32 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 locale, kAppContentAttr, kInitialStartPageAttr); | 336 locale, kAppContentAttr, kInitialStartPageAttr); |
337 } | 337 } |
338 | 338 |
339 std::string ServicesCustomizationDocument::GetSupportPage( | 339 std::string ServicesCustomizationDocument::GetSupportPage( |
340 const std::string& locale) const { | 340 const std::string& locale) const { |
341 return GetLocaleSpecificString( | 341 return GetLocaleSpecificString( |
342 locale, kAppContentAttr, kSupportPageAttr); | 342 locale, kAppContentAttr, kSupportPageAttr); |
343 } | 343 } |
344 | 344 |
345 } // namespace chromeos | 345 } // namespace chromeos |
OLD | NEW |