Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: chrome/browser/chromeos/customization_document.h

Issue 598023006: Add browser test for initial languages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698