| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Default locale value (first value in initial_locale list). | 90 // Default locale value (first value in initial_locale list). |
| 91 const std::string& initial_locale_default() const; | 91 const std::string& initial_locale_default() const; |
| 92 const std::string& initial_timezone() const { return initial_timezone_; } | 92 const std::string& initial_timezone() const { return initial_timezone_; } |
| 93 const std::string& keyboard_layout() const { return keyboard_layout_; } | 93 const std::string& keyboard_layout() const { return keyboard_layout_; } |
| 94 | 94 |
| 95 private: | 95 private: |
| 96 FRIEND_TEST_ALL_PREFIXES(StartupCustomizationDocumentTest, Basic); | 96 FRIEND_TEST_ALL_PREFIXES(StartupCustomizationDocumentTest, Basic); |
| 97 FRIEND_TEST_ALL_PREFIXES(StartupCustomizationDocumentTest, VPD); | 97 FRIEND_TEST_ALL_PREFIXES(StartupCustomizationDocumentTest, VPD); |
| 98 FRIEND_TEST_ALL_PREFIXES(StartupCustomizationDocumentTest, BadManifest); | 98 FRIEND_TEST_ALL_PREFIXES(StartupCustomizationDocumentTest, BadManifest); |
| 99 FRIEND_TEST_ALL_PREFIXES(ServicesCustomizationDocumentTest, MultiLanguage); | 99 FRIEND_TEST_ALL_PREFIXES(ServicesCustomizationDocumentTest, MultiLanguage); |
| 100 friend class OobeLocalizationTest; |
| 100 friend void ::Test__InitStartupCustomizationDocument( | 101 friend void ::Test__InitStartupCustomizationDocument( |
| 101 const std::string& manifest); | 102 const std::string& manifest); |
| 102 friend struct DefaultSingletonTraits<StartupCustomizationDocument>; | 103 friend struct DefaultSingletonTraits<StartupCustomizationDocument>; |
| 103 | 104 |
| 104 // C-tor for singleton construction. | 105 // C-tor for singleton construction. |
| 105 StartupCustomizationDocument(); | 106 StartupCustomizationDocument(); |
| 106 | 107 |
| 107 // C-tor for test construction. | 108 // C-tor for test construction. |
| 108 StartupCustomizationDocument(system::StatisticsProvider* provider, | 109 StartupCustomizationDocument(system::StatisticsProvider* provider, |
| 109 const std::string& manifest); | 110 const std::string& manifest); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 | 189 |
| 189 // How many times we already tried to fetch customization manifest file. | 190 // How many times we already tried to fetch customization manifest file. |
| 190 int num_retries_; | 191 int num_retries_; |
| 191 | 192 |
| 192 DISALLOW_COPY_AND_ASSIGN(ServicesCustomizationDocument); | 193 DISALLOW_COPY_AND_ASSIGN(ServicesCustomizationDocument); |
| 193 }; | 194 }; |
| 194 | 195 |
| 195 } // namespace chromeos | 196 } // namespace chromeos |
| 196 | 197 |
| 197 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ | 198 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_DOCUMENT_H_ |
| OLD | NEW |