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

Side by Side Diff: Source/modules/websockets/WebSocketHandshake.cpp

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "wtf/CryptographicallyRandomNumber.h" 47 #include "wtf/CryptographicallyRandomNumber.h"
48 #include "wtf/StdLibExtras.h" 48 #include "wtf/StdLibExtras.h"
49 #include "wtf/StringExtras.h" 49 #include "wtf/StringExtras.h"
50 #include "wtf/Vector.h" 50 #include "wtf/Vector.h"
51 #include "wtf/text/Base64.h" 51 #include "wtf/text/Base64.h"
52 #include "wtf/text/CString.h" 52 #include "wtf/text/CString.h"
53 #include "wtf/text/StringBuilder.h" 53 #include "wtf/text/StringBuilder.h"
54 #include "wtf/unicode/CharacterNames.h" 54 #include "wtf/unicode/CharacterNames.h"
55 55
56 namespace WebCore { 56 namespace blink {
57 57
58 String formatHandshakeFailureReason(const String& detail) 58 String formatHandshakeFailureReason(const String& detail)
59 { 59 {
60 return "Error during WebSocket handshake: " + detail; 60 return "Error during WebSocket handshake: " + detail;
61 } 61 }
62 62
63 static String resourceName(const KURL& url) 63 static String resourceName(const KURL& url)
64 { 64 {
65 StringBuilder name; 65 StringBuilder name;
66 name.append(url.path()); 66 name.append(url.path());
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 return false; 543 return false;
544 } 544 }
545 return true; 545 return true;
546 } 546 }
547 547
548 void WebSocketHandshake::trace(Visitor* visitor) 548 void WebSocketHandshake::trace(Visitor* visitor)
549 { 549 {
550 visitor->trace(m_document); 550 visitor->trace(m_document);
551 } 551 }
552 552
553 } // namespace WebCore 553 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/websockets/WebSocketHandshake.h ('k') | Source/modules/websockets/WebSocketPerMessageDeflate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698