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

Side by Side Diff: chrome/browser/extensions/api/data_reduction_proxy/data_reduction_proxy_api.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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 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 CHROME_BROWSER_EXTENSIONS_API_DATA_REDUCTION_PROXY_DATA_REDUCTION_PROXY_ API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DATA_REDUCTION_PROXY_DATA_REDUCTION_PROXY_ API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DATA_REDUCTION_PROXY_DATA_REDUCTION_PROXY_ API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DATA_REDUCTION_PROXY_DATA_REDUCTION_PROXY_ API_H_
7 7
8 #include "extensions/browser/extension_function.h" 8 #include "extensions/browser/extension_function.h"
9 9
10 namespace data_reduction_proxy { 10 namespace data_reduction_proxy {
(...skipping 17 matching lines...) Expand all
28 : public UIThreadExtensionFunction { 28 : public UIThreadExtensionFunction {
29 private: 29 private:
30 ~DataReductionProxyGetDataUsageFunction() override{}; 30 ~DataReductionProxyGetDataUsageFunction() override{};
31 31
32 DECLARE_EXTENSION_FUNCTION("dataReductionProxy.getDataUsage", 32 DECLARE_EXTENSION_FUNCTION("dataReductionProxy.getDataUsage",
33 DATAREDUCTIONPROXY_GETDATAUSAGE) 33 DATAREDUCTIONPROXY_GETDATAUSAGE)
34 34
35 ResponseAction Run() override; 35 ResponseAction Run() override;
36 36
37 void ReplyWithDataUsage( 37 void ReplyWithDataUsage(
38 scoped_ptr<std::vector<data_reduction_proxy::DataUsageBucket>> 38 std::unique_ptr<std::vector<data_reduction_proxy::DataUsageBucket>>
39 data_usage); 39 data_usage);
40 }; 40 };
41 41
42 } // namespace extensions 42 } // namespace extensions
43 43
44 #endif // CHROME_BROWSER_EXTENSIONS_API_DATA_REDUCTION_PROXY_DATA_REDUCTION_PRO XY_API_H_ 44 #endif // CHROME_BROWSER_EXTENSIONS_API_DATA_REDUCTION_PROXY_DATA_REDUCTION_PRO XY_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698