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

Side by Side Diff: components/omnibox/browser/autocomplete_controller.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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
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 "components/omnibox/browser/autocomplete_controller.h" 5 #include "components/omnibox/browser/autocomplete_controller.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 #include <string> 10 #include <string>
9 11
10 #include "base/format_macros.h" 12 #include "base/format_macros.h"
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
13 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
15 #include "base/time/time.h" 17 #include "base/time/time.h"
16 #include "build/build_config.h" 18 #include "build/build_config.h"
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 expire_timer_.Stop(); 652 expire_timer_.Stop();
651 stop_timer_.Stop(); 653 stop_timer_.Stop();
652 done_ = true; 654 done_ = true;
653 if (clear_result && !result_.empty()) { 655 if (clear_result && !result_.empty()) {
654 result_.Reset(); 656 result_.Reset();
655 // NOTE: We pass in false since we're trying to only clear the popup, not 657 // NOTE: We pass in false since we're trying to only clear the popup, not
656 // touch the edit... this is all a mess and should be cleaned up :( 658 // touch the edit... this is all a mess and should be cleaned up :(
657 NotifyChanged(false); 659 NotifyChanged(false);
658 } 660 }
659 } 661 }
OLDNEW
« no previous file with comments | « components/omnibox/browser/autocomplete_controller.h ('k') | components/omnibox/browser/autocomplete_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698