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

Side by Side Diff: net/websockets/websocket_net_log_params.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/string_split.h" 14 #include "base/string_split.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "net/base/net_log.h" 18 #include "net/base/net_log.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class NET_TEST NetLogWebSocketHandshakeParameter 22 class NET_EXPORT_PRIVATE NetLogWebSocketHandshakeParameter
23 : public NetLog::EventParameters { 23 : public NetLog::EventParameters {
24 public: 24 public:
25 explicit NetLogWebSocketHandshakeParameter(const std::string& headers); 25 explicit NetLogWebSocketHandshakeParameter(const std::string& headers);
26 26
27 virtual Value* ToValue() const; 27 virtual Value* ToValue() const;
28 28
29 private: 29 private:
30 virtual ~NetLogWebSocketHandshakeParameter(); 30 virtual ~NetLogWebSocketHandshakeParameter();
31 31
32 const std::string headers_; 32 const std::string headers_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(NetLogWebSocketHandshakeParameter); 34 DISALLOW_COPY_AND_ASSIGN(NetLogWebSocketHandshakeParameter);
35 }; 35 };
36 36
37 } // namespace net 37 } // namespace net
38 38
39 #endif // NET_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_ 39 #endif // NET_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698