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

Side by Side Diff: net/websockets/websocket_job.cc

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 10 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 | « net/websockets/websocket_handshake_handler.cc ('k') | testing/android/native_test_launcher.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/websockets/websocket_job.h" 5 #include "net/websockets/websocket_job.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/string_tokenizer.h"
12 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
13 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
14 #include "net/base/net_log.h" 13 #include "net/base/net_log.h"
15 #include "net/cookies/cookie_store.h" 14 #include "net/cookies/cookie_store.h"
16 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
17 #include "net/http/http_network_session.h" 16 #include "net/http/http_network_session.h"
18 #include "net/http/http_transaction_factory.h" 17 #include "net/http/http_transaction_factory.h"
19 #include "net/http/http_util.h" 18 #include "net/http/http_util.h"
20 #include "net/spdy/spdy_session.h" 19 #include "net/spdy/spdy_session.h"
21 #include "net/spdy/spdy_session_pool.h" 20 #include "net/spdy/spdy_session_pool.h"
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 653
655 scoped_refptr<IOBufferWithSize> next_buffer = send_buffer_queue_.front(); 654 scoped_refptr<IOBufferWithSize> next_buffer = send_buffer_queue_.front();
656 send_buffer_queue_.pop_front(); 655 send_buffer_queue_.pop_front();
657 current_send_buffer_ = new DrainableIOBuffer(next_buffer, 656 current_send_buffer_ = new DrainableIOBuffer(next_buffer,
658 next_buffer->size()); 657 next_buffer->size());
659 SendDataInternal(current_send_buffer_->data(), 658 SendDataInternal(current_send_buffer_->data(),
660 current_send_buffer_->BytesRemaining()); 659 current_send_buffer_->BytesRemaining());
661 } 660 }
662 661
663 } // namespace net 662 } // namespace net
OLDNEW
« no previous file with comments | « net/websockets/websocket_handshake_handler.cc ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698