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

Side by Side Diff: chrome/browser/autocomplete/autocomplete.cc

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 #include "chrome/browser/autocomplete/autocomplete.h" 5 #include "chrome/browser/autocomplete/autocomplete.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 done_ = false; 1007 done_ = false;
1008 return; 1008 return;
1009 } 1009 }
1010 } 1010 }
1011 done_ = true; 1011 done_ = true;
1012 } 1012 }
1013 1013
1014 void AutocompleteController::StartExpireTimer() { 1014 void AutocompleteController::StartExpireTimer() {
1015 if (result_.HasCopiedMatches()) 1015 if (result_.HasCopiedMatches())
1016 expire_timer_.Start(base::TimeDelta::FromMilliseconds(kExpireTimeMS), 1016 expire_timer_.Start(base::TimeDelta::FromMilliseconds(kExpireTimeMS),
1017 this, &AutocompleteController::ExpireCopiedEntries); 1017 this, &AutocompleteController::ExpireCopiedEntries,
1018 FROM_HERE);
1018 } 1019 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698