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

Side by Side Diff: athena/extensions/shell/url_search_provider.cc

Issue 651193002: Remove NOTIFICATION_HISTORY_URL_VISITED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@373326.2
Patch Set: Address comments Created 6 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/android/provider/chrome_browser_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "athena/extensions/shell/url_search_provider.h" 5 #include "athena/extensions/shell/url_search_provider.h"
6 6
7 #include "athena/activity/public/activity.h" 7 #include "athena/activity/public/activity.h"
8 #include "athena/activity/public/activity_factory.h" 8 #include "athena/activity/public/activity_factory.h"
9 #include "athena/extensions/shell/athena_shell_scheme_classifier.h" 9 #include "athena/extensions/shell/athena_shell_scheme_classifier.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 29 matching lines...) Expand all
40 // The templateURLServiceClient for Athena. Mainly for the interaction with 40 // The templateURLServiceClient for Athena. Mainly for the interaction with
41 // history module (see chrome/browser/search_engines for Chrome implementation). 41 // history module (see chrome/browser/search_engines for Chrome implementation).
42 // TODO(mukai): Implement the contents of this class when it's necessary. 42 // TODO(mukai): Implement the contents of this class when it's necessary.
43 class AthenaTemplateURLServiceClient : public TemplateURLServiceClient { 43 class AthenaTemplateURLServiceClient : public TemplateURLServiceClient {
44 public: 44 public:
45 AthenaTemplateURLServiceClient() {} 45 AthenaTemplateURLServiceClient() {}
46 virtual ~AthenaTemplateURLServiceClient() {} 46 virtual ~AthenaTemplateURLServiceClient() {}
47 47
48 private: 48 private:
49 // TemplateURLServiceClient: 49 // TemplateURLServiceClient:
50 virtual void Shutdown() override {}
50 virtual void SetOwner(TemplateURLService* owner) override {} 51 virtual void SetOwner(TemplateURLService* owner) override {}
51 virtual void DeleteAllSearchTermsForKeyword(TemplateURLID id) override {} 52 virtual void DeleteAllSearchTermsForKeyword(TemplateURLID id) override {}
52 virtual void SetKeywordSearchTermsForURL( 53 virtual void SetKeywordSearchTermsForURL(
53 const GURL& url, 54 const GURL& url,
54 TemplateURLID id, 55 TemplateURLID id,
55 const base::string16& term) override {} 56 const base::string16& term) override {}
56 virtual void AddKeywordGeneratedVisit(const GURL& url) override {} 57 virtual void AddKeywordGeneratedVisit(const GURL& url) override {}
57 virtual void RestoreExtensionInfoIfNecessary( 58 virtual void RestoreExtensionInfoIfNecessary(
58 TemplateURL* template_url) override {} 59 TemplateURL* template_url) override {}
59 60
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 ++it) { 272 ++it) {
272 if (!it->destination_url.is_valid()) 273 if (!it->destination_url.is_valid())
273 continue; 274 continue;
274 275
275 Add(scoped_ptr<app_list::SearchResult>( 276 Add(scoped_ptr<app_list::SearchResult>(
276 new UrlSearchResult(browser_context_, *it))); 277 new UrlSearchResult(browser_context_, *it)));
277 } 278 }
278 } 279 }
279 280
280 } // namespace athena 281 } // namespace athena
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/provider/chrome_browser_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698