OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/login/apply_services_customization.h" | 5 #include "chrome/browser/chromeos/login/apply_services_customization.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/chromeos/cros/cros_library.h" | 13 #include "chrome/browser/chromeos/cros/cros_library.h" |
14 #include "chrome/browser/chromeos/cros/network_library.h" | 14 #include "chrome/browser/chromeos/cros/network_library.h" |
15 #include "chrome/browser/chromeos/customization_document.h" | 15 #include "chrome/browser/chromeos/customization_document.h" |
16 #include "chrome/browser/pref_service.h" | 16 #include "chrome/browser/prefs/pref_service.h" |
17 #include "chrome/browser/profile_manager.h" | 17 #include "chrome/browser/profile_manager.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 // URL where to fetch OEM services customization manifest from. | 22 // URL where to fetch OEM services customization manifest from. |
23 // TODO(denisromanov): Change this to real URL when it becomes available. | 23 // TODO(denisromanov): Change this to real URL when it becomes available. |
24 const char kServicesCustomizationManifestUrl[] = | 24 const char kServicesCustomizationManifestUrl[] = |
25 "file:///mnt/partner_partition/etc/chromeos/services_manifest.json"; | 25 "file:///mnt/partner_partition/etc/chromeos/services_manifest.json"; |
26 | 26 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 customization.initial_start_page_url()); | 140 customization.initial_start_page_url()); |
141 LOG(INFO) << "initial_start_page_url: " | 141 LOG(INFO) << "initial_start_page_url: " |
142 << customization.initial_start_page_url(); | 142 << customization.initial_start_page_url(); |
143 } | 143 } |
144 // TODO(dpolukhin): apply customized apps, exts and support page. | 144 // TODO(dpolukhin): apply customized apps, exts and support page. |
145 | 145 |
146 SetApplied(true); | 146 SetApplied(true); |
147 } | 147 } |
148 | 148 |
149 } | 149 } |
OLD | NEW |