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

Side by Side Diff: components/version_ui/version_handler_helper.h

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ 5 #ifndef COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_
6 #define COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ 6 #define COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9 9
10 namespace base { 10 namespace base {
11 class Value; 11 class Value;
12 } 12 }
13 13
14 namespace version_ui { 14 namespace version_ui {
15 15
16 // Returns the list of variations to be displayed on the chrome:://version page. 16 // Returns the list of variations to be displayed on the chrome:://version page.
17 scoped_ptr<base::Value> GetVariationsList(); 17 std::unique_ptr<base::Value> GetVariationsList();
18 18
19 } // namespace version_ui 19 } // namespace version_ui
20 20
21 #endif // COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ 21 #endif // COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_
OLDNEW
« no previous file with comments | « components/variations/variations_seed_processor_unittest.cc ('k') | components/version_ui/version_handler_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698