| Index: chrome/browser/search/instant_service.cc
|
| diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc
|
| index d0f0f313d60bec342bb7b5e1af92284dcc86cbfb..7e21c158ce191042ed05750e70e6d3824d6f4508 100644
|
| --- a/chrome/browser/search/instant_service.cc
|
| +++ b/chrome/browser/search/instant_service.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/search/instant_service_factory.h"
|
| #include "chrome/browser/search/local_ntp_source.h"
|
| #include "chrome/browser/search/local_omnibox_popup_source.h"
|
| +#include "chrome/browser/search/suggestion_source.h"
|
| #include "chrome/browser/ui/webui/favicon_source.h"
|
| #include "chrome/browser/ui/webui/ntp/thumbnail_source.h"
|
| #include "chrome/browser/ui/webui/theme_source.h"
|
| @@ -54,6 +55,7 @@ InstantService::InstantService(Profile* profile)
|
| profile, FaviconSource::FAVICON));
|
| content::URLDataSource::Add(profile, new LocalOmniboxPopupSource());
|
| content::URLDataSource::Add(profile, new LocalNtpSource());
|
| + content::URLDataSource::Add(profile, new SuggestionSource());
|
| }
|
|
|
| InstantService::~InstantService() {
|
| @@ -105,14 +107,14 @@ bool InstantService::IsInstantPath(const GURL& url) {
|
| return base::StringToInt(path, &dummy);
|
| }
|
|
|
| -void InstantService::AddInstantProcess(int process_id) {
|
| +void InstantService::AddInstantProcess(int process_id, const GURL& site_url) {
|
| process_ids_.insert(process_id);
|
|
|
| if (instant_io_context_) {
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
| base::Bind(&InstantIOContext::AddInstantProcessOnIO,
|
| - instant_io_context_, process_id));
|
| + instant_io_context_, process_id, site_url));
|
| }
|
| }
|
|
|
|
|