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

Side by Side Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h

Issue 1873263002: Convert //components/data_reduction_proxy 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 #ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_H_
6 #define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_H_ 6 #define CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
megjablon 2016/04/12 21:55:35 Unnecessary include
dcheng 2016/04/12 22:38:34 This is required to keep the build from breaking:
megjablon 2016/04/12 22:41:13 Ah gotcha, makes sense.
11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ est_options.h" 12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ est_options.h"
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h" 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h"
13 #include "components/keyed_service/core/keyed_service.h" 14 #include "components/keyed_service/core/keyed_service.h"
14 15
15 class PrefService; 16 class PrefService;
16 17
17 namespace base { 18 namespace base {
18 class SequencedTaskRunner; 19 class SequencedTaskRunner;
19 class SingleThreadTaskRunner; 20 class SingleThreadTaskRunner;
20 } 21 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // migration action taken. 90 // migration action taken.
90 ProxyPrefMigrationResult MigrateDataReductionProxyOffProxyPrefsHelper( 91 ProxyPrefMigrationResult MigrateDataReductionProxyOffProxyPrefsHelper(
91 PrefService* prefs); 92 PrefService* prefs);
92 93
93 std::string data_reduction_proxy_enabled_pref_name_; 94 std::string data_reduction_proxy_enabled_pref_name_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettings); 96 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyChromeSettings);
96 }; 97 };
97 98
98 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_H_ 99 #endif // CHROME_BROWSER_NET_SPDYPROXY_DATA_REDUCTION_PROXY_CHROME_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698