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

Unified Diff: net/websockets/websocket_net_log_params.h

Issue 10548028: NetLogEventParameter to Callback refactoring 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix bad paste Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/websockets/websocket_job.cc ('k') | net/websockets/websocket_net_log_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_net_log_params.h
===================================================================
--- net/websockets/websocket_net_log_params.h (revision 142108)
+++ net/websockets/websocket_net_log_params.h (working copy)
@@ -7,33 +7,16 @@
#pragma once
#include <string>
-#include <vector>
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-#include "base/string_split.h"
-#include "base/string_util.h"
-#include "base/stringprintf.h"
-#include "base/values.h"
+#include "net/base/net_export.h"
#include "net/base/net_log.h"
namespace net {
-class NET_EXPORT_PRIVATE NetLogWebSocketHandshakeParameter
- : public NetLog::EventParameters {
- public:
- explicit NetLogWebSocketHandshakeParameter(const std::string& headers);
+NET_EXPORT_PRIVATE base::Value* NetLogWebSocketHandshakeCallback(
+ const std::string* headers,
+ NetLog::LogLevel /* log_level */);
- virtual Value* ToValue() const OVERRIDE;
-
- private:
- virtual ~NetLogWebSocketHandshakeParameter();
-
- const std::string headers_;
-
- DISALLOW_COPY_AND_ASSIGN(NetLogWebSocketHandshakeParameter);
-};
-
} // namespace net
#endif // NET_WEBSOCKETS_WEBSOCKET_NET_LOG_PARAMS_H_
« no previous file with comments | « net/websockets/websocket_job.cc ('k') | net/websockets/websocket_net_log_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698