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

Unified Diff: trunk/src/chrome/renderer/chrome_render_view_observer.cc

Issue 19637009: Revert 212459 "Remove TextDatabase from the history service." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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
Index: trunk/src/chrome/renderer/chrome_render_view_observer.cc
===================================================================
--- trunk/src/chrome/renderer/chrome_render_view_observer.cc (revision 212472)
+++ trunk/src/chrome/renderer/chrome_render_view_observer.cc (working copy)
@@ -741,6 +741,13 @@
TRACE_EVENT0("renderer", "ChromeRenderViewObserver::CapturePageInfo");
+ if (contents.size()) {
+ // Send the text to the browser for indexing (the browser might decide not
+ // to index, if the URL is HTTPS for instance).
+ Send(new ChromeViewHostMsg_PageContents(routing_id(), url, page_id,
+ contents));
+ }
+
#if defined(FULL_SAFE_BROWSING)
// Will swap out the string.
if (phishing_classifier_)
« no previous file with comments | « trunk/src/chrome/common/render_messages.h ('k') | trunk/src/chrome/test/data/History/url_history_provider_test.db.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698