| Index: components/enhanced_bookmarks/bookmark_server_search_service.cc
|
| diff --git a/components/enhanced_bookmarks/bookmark_server_search_service.cc b/components/enhanced_bookmarks/bookmark_server_search_service.cc
|
| index 274c82293acdee5cd5d1587729f0d35067ea28be..5ab2d662bc585145bc534e738354efb8af58ea63 100644
|
| --- a/components/enhanced_bookmarks/bookmark_server_search_service.cc
|
| +++ b/components/enhanced_bookmarks/bookmark_server_search_service.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "components/enhanced_bookmarks/bookmark_server_search_service.h"
|
|
|
| -#include "components/enhanced_bookmarks/enhanced_bookmark_model.h"
|
| #include "components/enhanced_bookmarks/enhanced_bookmark_utils.h"
|
| #include "components/enhanced_bookmarks/proto/search.pb.h"
|
| #include "net/base/url_util.h"
|
| @@ -57,16 +56,15 @@
|
| return result;
|
| }
|
|
|
| -scoped_ptr<net::URLFetcher> BookmarkServerSearchService::CreateFetcher() {
|
| +net::URLFetcher* BookmarkServerSearchService::CreateFetcher() {
|
| // Add the necessary arguments to the URI.
|
| GURL url(kSearchUrl);
|
| url = net::AppendQueryParameter(url, "output", "proto");
|
| url = net::AppendQueryParameter(url, "q", current_query_);
|
| - url = net::AppendQueryParameter(url, "v", model_->GetVersionString());
|
|
|
| // Build the URLFetcher to perform the request.
|
| - scoped_ptr<net::URLFetcher> url_fetcher(
|
| - net::URLFetcher::Create(url, net::URLFetcher::GET, this));
|
| + net::URLFetcher* url_fetcher =
|
| + net::URLFetcher::Create(url, net::URLFetcher::GET, this);
|
|
|
| return url_fetcher;
|
| }
|
|
|