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

Side by Side Diff: chrome/browser/locale_tests_browsertest.cc

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include <memory>
8
7 #include "base/command_line.h" 9 #include "base/command_line.h"
8 #include "base/environment.h" 10 #include "base/environment.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "chrome/test/base/in_process_browser_test.h" 13 #include "chrome/test/base/in_process_browser_test.h"
13 #include "ui/base/ui_base_switches.h" 14 #include "ui/base/ui_base_switches.h"
14 15
15 namespace { 16 namespace {
16 17
17 // A class that over-writes the system locale only in a scope. To emulate the 18 // A class that over-writes the system locale only in a scope. To emulate the
18 // specified environment on Linux, this class over-writes a LC_ALL environment 19 // specified environment on Linux, this class over-writes a LC_ALL environment
19 // variable when creating a LocaleTest object and restore it with the original 20 // variable when creating a LocaleTest object and restore it with the original
20 // value when deleting the object. (This environment variable may affect other 21 // value when deleting the object. (This environment variable may affect other
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // code here because they just verify we can start Chrome and shut it down 109 // code here because they just verify we can start Chrome and shut it down
109 // cleanly on these locales. 110 // cleanly on these locales.
110 IN_PROC_BROWSER_TEST_F(LocaleTestDanish, TestStart) { 111 IN_PROC_BROWSER_TEST_F(LocaleTestDanish, TestStart) {
111 } 112 }
112 113
113 IN_PROC_BROWSER_TEST_F(LocaleTestHebrew, TestStart) { 114 IN_PROC_BROWSER_TEST_F(LocaleTestHebrew, TestStart) {
114 } 115 }
115 116
116 IN_PROC_BROWSER_TEST_F(LocaleTestTraditionalChinese, TestStart) { 117 IN_PROC_BROWSER_TEST_F(LocaleTestTraditionalChinese, TestStart) {
117 } 118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698