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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
6 #include "base/format_macros.h" 8 #include "base/format_macros.h"
7 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
8 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "build/build_config.h"
9 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" 12 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
10 #include "chrome/browser/extensions/extension_browsertest.h" 13 #include "chrome/browser/extensions/extension_browsertest.h"
11 #include "chrome/browser/extensions/extension_service.h" 14 #include "chrome/browser/extensions/extension_service.h"
12 #include "chrome/browser/extensions/unpacked_installer.h" 15 #include "chrome/browser/extensions/unpacked_installer.h"
13 #include "chrome/browser/history/history_service_factory.h" 16 #include "chrome/browser/history/history_service_factory.h"
14 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/search_engines/template_url_service_factory.h" 18 #include "chrome/browser/search_engines/template_url_service_factory.h"
16 #include "chrome/browser/ui/browser.h" 19 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/browser_commands.h" 20 #include "chrome/browser/ui/browser_commands.h"
18 #include "chrome/browser/ui/browser_tabstrip.h" 21 #include "chrome/browser/ui/browser_tabstrip.h"
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 location_bar->FocusSearch(); 283 location_bar->FocusSearch();
281 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); 284 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid());
282 EXPECT_EQ(base::ASCIIToUTF16(" ?foo"), omnibox_view->GetText()); 285 EXPECT_EQ(base::ASCIIToUTF16(" ?foo"), omnibox_view->GetText());
283 286
284 size_t selection_start, selection_end; 287 size_t selection_start, selection_end;
285 omnibox_view->GetSelectionBounds(&selection_start, &selection_end); 288 omnibox_view->GetSelectionBounds(&selection_start, &selection_end);
286 EXPECT_EQ(4U, std::min(selection_start, selection_end)); 289 EXPECT_EQ(4U, std::min(selection_start, selection_end));
287 EXPECT_EQ(7U, std::max(selection_start, selection_end)); 290 EXPECT_EQ(7U, std::max(selection_start, selection_end));
288 } 291 }
289 } 292 }
OLDNEW
« no previous file with comments | « chrome/browser/apps/shortcut_manager.cc ('k') | chrome/browser/autocomplete/autocomplete_classifier_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698