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

Side by Side Diff: content/browser/accessibility/dump_accessibility_browsertest_base.h

Issue 1874893002: Convert //content/browser 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/debug/leak_annotations.h" 8 #include "base/debug/leak_annotations.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // The default filters plus the filters loaded from the test file. 97 // The default filters plus the filters loaded from the test file.
98 std::vector<AccessibilityTreeFormatter::Filter> filters_; 98 std::vector<AccessibilityTreeFormatter::Filter> filters_;
99 99
100 #if defined(LEAK_SANITIZER) && !defined(OS_NACL) 100 #if defined(LEAK_SANITIZER) && !defined(OS_NACL)
101 // http://crbug.com/568674 101 // http://crbug.com/568674
102 ScopedLeakSanitizerDisabler lsan_disabler; 102 ScopedLeakSanitizerDisabler lsan_disabler;
103 #endif 103 #endif
104 104
105 // The current AccessibilityTreeFormatter. 105 // The current AccessibilityTreeFormatter.
106 scoped_ptr<AccessibilityTreeFormatter> formatter_; 106 std::unique_ptr<AccessibilityTreeFormatter> formatter_;
107 107
108 // Whether we're doing a native pass or internal/blink tree pass. 108 // Whether we're doing a native pass or internal/blink tree pass.
109 bool is_blink_pass_; 109 bool is_blink_pass_;
110 }; 110 };
111 111
112 } // namespace content 112 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698