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

Side by Side Diff: chrome/browser/nacl_host/test/nacl_gdb_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 <memory>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
6 #include "base/environment.h" 8 #include "base/environment.h"
7 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
8 #include "base/memory/scoped_ptr.h"
9 #include "base/path_service.h" 10 #include "base/path_service.h"
10 #include "base/win/windows_version.h" 11 #include "base/win/windows_version.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/ppapi/ppapi_test.h" 14 #include "chrome/test/ppapi/ppapi_test.h"
14 #include "components/nacl/common/nacl_switches.h" 15 #include "components/nacl/common/nacl_switches.h"
15 16
16 static const base::FilePath::CharType kMockNaClGdb[] = 17 static const base::FilePath::CharType kMockNaClGdb[] =
17 #if defined(OS_WIN) 18 #if defined(OS_WIN)
18 FILE_PATH_LITERAL("mock_nacl_gdb.exe"); 19 FILE_PATH_LITERAL("mock_nacl_gdb.exe");
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 74
74 // Fails on the ASAN test bot. See http://crbug.com/122219 75 // Fails on the ASAN test bot. See http://crbug.com/122219
75 #if defined(ADDRESS_SANITIZER) 76 #if defined(ADDRESS_SANITIZER)
76 #define MAYBE_Empty DISABLED_Empty 77 #define MAYBE_Empty DISABLED_Empty
77 #else 78 #else
78 #define MAYBE_Empty Empty 79 #define MAYBE_Empty Empty
79 #endif 80 #endif
80 IN_PROC_BROWSER_TEST_F(NaClGdbTest, MAYBE_Empty) { 81 IN_PROC_BROWSER_TEST_F(NaClGdbTest, MAYBE_Empty) {
81 RunWithNaClGdb("Empty"); 82 RunWithNaClGdb("Empty");
82 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698