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

Unified Diff: chrome/common/search/search_urls.h

Issue 2898313003: Ensure the NTP ServiceWorker has the proper site URL (Closed)
Patch Set: Rebase + addressed comments Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/search/search_unittest.cc ('k') | chrome/common/search/search_urls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/search/search_urls.h
diff --git a/chrome/common/search/search_urls.h b/chrome/common/search/search_urls.h
index 43f15273991da5425b2526732feb910e75029154..0ad0bf7129780c57dbc9008b31b82fea8a0c4209 100644
--- a/chrome/common/search/search_urls.h
+++ b/chrome/common/search/search_urls.h
@@ -16,6 +16,8 @@ namespace search {
// default search provider URL is "http://".
bool MatchesOriginAndPath(const GURL& my_url, const GURL& other_url);
+bool IsMatchingServiceWorker(const GURL& my_url, const GURL& document_url);
+
} // namespace search
#endif // CHROME_COMMON_SEARCH_SEARCH_URLS_H_
« no previous file with comments | « chrome/browser/search/search_unittest.cc ('k') | chrome/common/search/search_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698