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

Side by Side Diff: net/url_request/url_request_netlog_params.h

Issue 10066045: RefCounted types should not have public destructors, net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deprecated cookiestore fix Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 const GURL& url() const { 28 const GURL& url() const {
29 return url_; 29 return url_;
30 } 30 }
31 31
32 int load_flags() const { 32 int load_flags() const {
33 return load_flags_; 33 return load_flags_;
34 } 34 }
35 35
36 virtual base::Value* ToValue() const OVERRIDE; 36 virtual base::Value* ToValue() const OVERRIDE;
37 37
38 protected:
39 virtual ~URLRequestStartEventParameters();
40
38 private: 41 private:
39 const GURL url_; 42 const GURL url_;
40 const std::string method_; 43 const std::string method_;
41 const int load_flags_; 44 const int load_flags_;
42 const RequestPriority priority_; 45 const RequestPriority priority_;
43 46
44 DISALLOW_COPY_AND_ASSIGN(URLRequestStartEventParameters); 47 DISALLOW_COPY_AND_ASSIGN(URLRequestStartEventParameters);
45 }; 48 };
46 49
47 } // namespace net 50 } // namespace net
48 51
49 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ 52 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_job_factory_unittest.cc ('k') | net/url_request/url_request_netlog_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698