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

Side by Side Diff: net/base/net_log.h

Issue 7056049: Changes to have chrome building with net.dll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « jingle/jingle.gyp ('k') | net/base/net_util.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 (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_BASE_NET_LOG_H_ 5 #ifndef NET_BASE_NET_LOG_H_
6 #define NET_BASE_NET_LOG_H_ 6 #define NET_BASE_NET_LOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 virtual Value* ToValue() const; 261 virtual Value* ToValue() const;
262 262
263 private: 263 private:
264 const char* name_; 264 const char* name_;
265 const int value_; 265 const int value_;
266 }; 266 };
267 267
268 // NetLogSourceParameter is a subclass of EventParameters that encapsulates a 268 // NetLogSourceParameter is a subclass of EventParameters that encapsulates a
269 // single NetLog::Source parameter. 269 // single NetLog::Source parameter.
270 class NetLogSourceParameter : public NetLog::EventParameters { 270 class NET_API NetLogSourceParameter : public NetLog::EventParameters {
271 public: 271 public:
272 // |name| must be a string literal. 272 // |name| must be a string literal.
273 NetLogSourceParameter(const char* name, const NetLog::Source& value) 273 NetLogSourceParameter(const char* name, const NetLog::Source& value)
274 : name_(name), value_(value) {} 274 : name_(name), value_(value) {}
275 275
276 const NetLog::Source& value() const { 276 const NetLog::Source& value() const {
277 return value_; 277 return value_;
278 } 278 }
279 279
280 virtual Value* ToValue() const; 280 virtual Value* ToValue() const;
(...skipping 23 matching lines...) Expand all
304 304
305 private: 305 private:
306 BoundNetLog net_log_; 306 BoundNetLog net_log_;
307 const NetLog::EventType event_type_; 307 const NetLog::EventType event_type_;
308 scoped_refptr<NetLog::EventParameters> end_event_params_; 308 scoped_refptr<NetLog::EventParameters> end_event_params_;
309 }; 309 };
310 310
311 } // namespace net 311 } // namespace net
312 312
313 #endif // NET_BASE_NET_LOG_H_ 313 #endif // NET_BASE_NET_LOG_H_
OLDNEW
« no previous file with comments | « jingle/jingle.gyp ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698