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

Side by Side Diff: chrome/browser/net/websocket_experiment/websocket_experiment_task.h

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux 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
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 // WebSocket live experiment task. 5 // WebSocket live experiment task.
6 // It will try the following scenario. 6 // It will try the following scenario.
7 // 7 //
8 // - Fetch |http_url| within |url_fetch_deadline_ms| msec. 8 // - Fetch |http_url| within |url_fetch_deadline_ms| msec.
9 // If failed, the task is aborted (no http reachability) 9 // If failed, the task is aborted (no http reachability)
10 // 10 //
(...skipping 23 matching lines...) Expand all
34 #ifndef CHROME_BROWSER_NET_WEBSOCKET_EXPERIMENT_WEBSOCKET_EXPERIMENT_TASK_H_ 34 #ifndef CHROME_BROWSER_NET_WEBSOCKET_EXPERIMENT_WEBSOCKET_EXPERIMENT_TASK_H_
35 #define CHROME_BROWSER_NET_WEBSOCKET_EXPERIMENT_WEBSOCKET_EXPERIMENT_TASK_H_ 35 #define CHROME_BROWSER_NET_WEBSOCKET_EXPERIMENT_WEBSOCKET_EXPERIMENT_TASK_H_
36 #pragma once 36 #pragma once
37 37
38 #include <deque> 38 #include <deque>
39 #include <string> 39 #include <string>
40 40
41 #include "base/basictypes.h" 41 #include "base/basictypes.h"
42 #include "base/task.h" 42 #include "base/task.h"
43 #include "base/time.h" 43 #include "base/time.h"
44 #include "chrome/common/net/url_fetcher.h" 44 #include "content/common/url_fetcher.h"
45 #include "googleurl/src/gurl.h" 45 #include "googleurl/src/gurl.h"
46 #include "net/base/completion_callback.h" 46 #include "net/base/completion_callback.h"
47 #include "net/base/net_errors.h" 47 #include "net/base/net_errors.h"
48 #include "net/websockets/websocket.h" 48 #include "net/websockets/websocket.h"
49 49
50 namespace net { 50 namespace net {
51 class WebSocket; 51 class WebSocket;
52 } // namespace net 52 } // namespace net
53 53
54 namespace chrome_browser_net_websocket_experiment { 54 namespace chrome_browser_net_websocket_experiment {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 base::TimeTicks websocket_connect_start_time_; 205 base::TimeTicks websocket_connect_start_time_;
206 base::TimeTicks websocket_echo_start_time_; 206 base::TimeTicks websocket_echo_start_time_;
207 base::TimeTicks websocket_idle_start_time_; 207 base::TimeTicks websocket_idle_start_time_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(WebSocketExperimentTask); 209 DISALLOW_COPY_AND_ASSIGN(WebSocketExperimentTask);
210 }; 210 };
211 211
212 } // namespace chrome_browser_net 212 } // namespace chrome_browser_net
213 213
214 #endif // CHROME_BROWSER_NET_WEBSOCKET_EXPERIMENT_WEBSOCKET_EXPERIMENT_TASK_H_ 214 #endif // CHROME_BROWSER_NET_WEBSOCKET_EXPERIMENT_WEBSOCKET_EXPERIMENT_TASK_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/sdch_dictionary_fetcher.h ('k') | chrome/browser/policy/device_management_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698