| Index: chrome/browser/autocomplete/autocomplete.cc
|
| ===================================================================
|
| --- chrome/browser/autocomplete/autocomplete.cc (revision 94076)
|
| +++ chrome/browser/autocomplete/autocomplete.cc (working copy)
|
| @@ -25,7 +25,6 @@
|
| #include "chrome/browser/autocomplete/shortcuts_provider.h"
|
| #include "chrome/browser/bookmarks/bookmark_model.h"
|
| #include "chrome/browser/external_protocol/external_protocol_handler.h"
|
| -#include "chrome/browser/instant/instant_field_trial.h"
|
| #include "chrome/browser/net/url_fixer_upper.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -794,8 +793,7 @@
|
| AutocompleteControllerDelegate* delegate)
|
| : delegate_(delegate),
|
| done_(true),
|
| - in_start_(false),
|
| - profile_(profile) {
|
| + in_start_(false) {
|
| search_provider_ = new SearchProvider(this, profile);
|
| providers_.push_back(search_provider_);
|
| // TODO(mrossetti): Remove the following and permanently modify the
|
| @@ -841,7 +839,6 @@
|
| (*i)->SetProfile(profile);
|
| input_.Clear(); // Ensure we don't try to do a "minimal_changes" query on a
|
| // different profile.
|
| - profile_ = profile;
|
| }
|
|
|
| void AutocompleteController::Start(
|
| @@ -883,9 +880,7 @@
|
| if (matches_requested == AutocompleteInput::ALL_MATCHES &&
|
| (text.length() < 6)) {
|
| base::TimeTicks end_time = base::TimeTicks::Now();
|
| - std::string name = "Omnibox.QueryTime." +
|
| - InstantFieldTrial::GetGroupName(profile_) +
|
| - base::IntToString(text.length());
|
| + std::string name = "Omnibox.QueryTime." + base::IntToString(text.length());
|
| base::Histogram* counter = base::Histogram::FactoryGet(
|
| name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag);
|
| counter->Add(static_cast<int>((end_time - start_time).InMilliseconds()));
|
|
|