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

Side by Side Diff: chrome/browser/net/url_fetcher_protect.cc

Issue 18305: Move url_* to net subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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 | « chrome/browser/net/url_fetcher_protect.h ('k') | chrome/browser/net/url_fetcher_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/chrome/browser/url_fetcher_protect.cc:r69-2775
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 "chrome/browser/url_fetcher_protect.h" 5 #include "chrome/browser/net/url_fetcher_protect.h"
6 6
7 // URLFetcherProtectEntry ---------------------------------------------------- 7 // URLFetcherProtectEntry ----------------------------------------------------
8 8
9 using base::TimeDelta; 9 using base::TimeDelta;
10 using base::TimeTicks; 10 using base::TimeTicks;
11 11
12 // Default parameters. Time is in milliseconds. 12 // Default parameters. Time is in milliseconds.
13 // static 13 // static
14 const int URLFetcherProtectEntry::kDefaultSlidingWindowPeriod = 2000; 14 const int URLFetcherProtectEntry::kDefaultSlidingWindowPeriod = 2000;
15 15
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 ProtectService::iterator i = services_.find(id); 165 ProtectService::iterator i = services_.find(id);
166 if (i != services_.end()) { 166 if (i != services_.end()) {
167 // The entry exists. 167 // The entry exists.
168 delete i->second; 168 delete i->second;
169 } 169 }
170 170
171 services_[id] = entry; 171 services_[id] = entry;
172 return entry; 172 return entry;
173 } 173 }
OLDNEW
« no previous file with comments | « chrome/browser/net/url_fetcher_protect.h ('k') | chrome/browser/net/url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698