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

Side by Side Diff: chrome/browser/predictors/autocomplete_action_predictor_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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 "chrome/browser/predictors/autocomplete_action_predictor.h" 5 #include "chrome/browser/predictors/autocomplete_action_predictor.h"
6 6
7 #include <stddef.h>
8
7 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
8 #include "base/command_line.h" 10 #include "base/command_line.h"
9 #include "base/guid.h" 11 #include "base/guid.h"
12 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
11 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
12 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
14 #include "base/time/time.h" 17 #include "base/time/time.h"
15 #include "chrome/browser/history/history_service_factory.h" 18 #include "chrome/browser/history/history_service_factory.h"
16 #include "chrome/browser/prerender/prerender_field_trial.h" 19 #include "chrome/browser/prerender/prerender_field_trial.h"
17 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
18 #include "chrome/test/base/testing_profile.h" 21 #include "chrome/test/base/testing_profile.h"
19 #include "components/history/core/browser/history_service.h" 22 #include "components/history/core/browser/history_service.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 AutocompleteActionPredictor::ACTION_PRERENDER) ? 379 AutocompleteActionPredictor::ACTION_PRERENDER) ?
377 AutocompleteActionPredictor::ACTION_PRECONNECT : 380 AutocompleteActionPredictor::ACTION_PRECONNECT :
378 test_url_db[i].expected_action; 381 test_url_db[i].expected_action;
379 EXPECT_EQ(expected_action, 382 EXPECT_EQ(expected_action,
380 predictor()->RecommendAction(test_url_db[i].user_text, match)) 383 predictor()->RecommendAction(test_url_db[i].user_text, match))
381 << "Unexpected action for " << match.destination_url; 384 << "Unexpected action for " << match.destination_url;
382 } 385 }
383 } 386 }
384 387
385 } // namespace predictors 388 } // namespace predictors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698