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

Unified Diff: content/renderer/android/content_detector.cc

Issue 10911189: Fix the warnings when build content/ with clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « content/renderer/android/content_detector.h ('k') | content/shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/content_detector.cc
diff --git a/content/renderer/android/content_detector.cc b/content/renderer/android/content_detector.cc
index 96adfa3fb7ba2f76519e2aeb3b70a3053ffeb53d..64a91f2ce3c0dedae7c66aad38080877d773ac5f 100644
--- a/content/renderer/android/content_detector.cc
+++ b/content/renderer/android/content_detector.cc
@@ -14,6 +14,19 @@ using WebKit::WebSurroundingText;
namespace content {
+ContentDetector::Result::Result() : valid(false) {}
+
+ContentDetector::Result::Result(const WebKit::WebRange& content_boundaries,
+ const std::string& text,
+ const GURL& intent_url)
+ : valid(true),
+ content_boundaries(content_boundaries),
+ text(text),
+ intent_url(intent_url) {
+}
+
+ContentDetector::Result::~Result() {}
+
ContentDetector::Result ContentDetector::FindTappedContent(
const WebKit::WebHitTestResult& hit_test) {
if (hit_test.isNull())
« no previous file with comments | « content/renderer/android/content_detector.h ('k') | content/shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698