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

Side by Side Diff: net/http/http_cache.cc

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/http/http_cache.h" 5 #include "net/http/http_cache.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/pickle.h" 11 #include "base/pickle.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "net/base/load_flags.h" 15 #include "net/base/load_flags.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/disk_cache/disk_cache.h" 17 #include "net/disk_cache/disk_cache.h"
18 #include "net/http/http_network_layer.h" 18 #include "net/http/http_network_layer.h"
19 #include "net/http/http_request_info.h" 19 #include "net/http/http_request_info.h"
20 #include "net/http/http_response_info.h" 20 #include "net/http/http_response_info.h"
21 #include "net/http/http_transaction.h" 21 #include "net/http/http_transaction.h"
22 #include "net/http/http_util.h" 22 #include "net/http/http_util.h"
23 23
24 using base::Time;
25
24 namespace net { 26 namespace net {
25 27
26 // disk cache entry data indices. 28 // disk cache entry data indices.
27 enum { 29 enum {
28 kResponseInfoIndex, 30 kResponseInfoIndex,
29 kResponseContentIndex 31 kResponseContentIndex
30 }; 32 };
31 33
32 // These values can be bit-wise combined to form the flags field of the 34 // These values can be bit-wise combined to form the flags field of the
33 // serialized HttpResponseInfo. 35 // serialized HttpResponseInfo.
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 1326
1325 entry->pending_queue.erase(entry->pending_queue.begin()); 1327 entry->pending_queue.erase(entry->pending_queue.begin());
1326 1328
1327 AddTransactionToEntry(entry, next); 1329 AddTransactionToEntry(entry, next);
1328 } 1330 }
1329 1331
1330 //----------------------------------------------------------------------------- 1332 //-----------------------------------------------------------------------------
1331 1333
1332 } // namespace net 1334 } // namespace net
1333 1335
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698