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

Side by Side Diff: sync/internal_api/public/http_bridge.h

Issue 824893004: sync: Remove unused private fields (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sync/internal_api/http_bridge.cc ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_
6 #define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 RequestContext( 64 RequestContext(
65 net::URLRequestContext* baseline_context, 65 net::URLRequestContext* baseline_context,
66 const scoped_refptr<base::SingleThreadTaskRunner>& 66 const scoped_refptr<base::SingleThreadTaskRunner>&
67 network_task_runner, 67 network_task_runner,
68 const std::string& user_agent); 68 const std::string& user_agent);
69 69
70 // The destructor MUST be called on the IO thread. 70 // The destructor MUST be called on the IO thread.
71 ~RequestContext() override; 71 ~RequestContext() override;
72 72
73 private: 73 private:
74 net::URLRequestContext* const baseline_context_;
75 const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 74 const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
76 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_; 75 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_;
77 scoped_ptr<net::URLRequestJobFactory> job_factory_; 76 scoped_ptr<net::URLRequestJobFactory> job_factory_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(RequestContext); 78 DISALLOW_COPY_AND_ASSIGN(RequestContext);
80 }; 79 };
81 80
82 // Lazy-getter for RequestContext objects. 81 // Lazy-getter for RequestContext objects.
83 class SYNC_EXPORT_PRIVATE RequestContextGetter 82 class SYNC_EXPORT_PRIVATE RequestContextGetter
84 : public net::URLRequestContextGetter { 83 : public net::URLRequestContextGetter {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 NetworkTimeUpdateCallback network_time_update_callback_; 274 NetworkTimeUpdateCallback network_time_update_callback_;
276 275
277 CancelationSignal* const cancelation_signal_; 276 CancelationSignal* const cancelation_signal_;
278 277
279 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); 278 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory);
280 }; 279 };
281 280
282 } // namespace syncer 281 } // namespace syncer
283 282
284 #endif // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_ 283 #endif // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_
OLDNEW
« no previous file with comments | « sync/internal_api/http_bridge.cc ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698