| 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 #ifndef CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 // If it matches number of tasks finished - customization is applied | 322 // If it matches number of tasks finished - customization is applied |
| 323 // successfully. | 323 // successfully. |
| 324 size_t apply_tasks_success_; | 324 size_t apply_tasks_success_; |
| 325 | 325 |
| 326 // Weak factory for callbacks. | 326 // Weak factory for callbacks. |
| 327 base::WeakPtrFactory<ServicesCustomizationDocument> weak_ptr_factory_; | 327 base::WeakPtrFactory<ServicesCustomizationDocument> weak_ptr_factory_; |
| 328 | 328 |
| 329 DISALLOW_COPY_AND_ASSIGN(ServicesCustomizationDocument); | 329 DISALLOW_COPY_AND_ASSIGN(ServicesCustomizationDocument); |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 // In tests we need to override initial locale. |
| 333 void SetEnforceInitialLocaleForTesting(const char* locale); |
| 334 |
| 335 // In tests we need to override initial keyboard. |
| 336 void SetEnforceInitialKeyboardForTesting(const char* keyboard); |
| 337 |
| 332 } // namespace chromeos | 338 } // namespace chromeos |
| 333 | 339 |
| 334 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ | 340 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ |
| OLD | NEW |