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

Unified Diff: components/handoff/handoff_manager.h

Issue 1000723003: handoff: Fix the origin so that it correctly reflects the sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: components/handoff/handoff_manager.h
diff --git a/components/handoff/handoff_manager.h b/components/handoff/handoff_manager.h
index 8b28a35b7a31973aea0d6d0d455b4783a59361e5..6660941aa01866e459d3701d6629a8f4690a46a1 100644
--- a/components/handoff/handoff_manager.h
+++ b/components/handoff/handoff_manager.h
@@ -8,6 +8,7 @@
#include <Foundation/Foundation.h>
#include "base/mac/objc_property_releaser.h"
+#include "components/handoff/handoff_utility.h"
#include "url/gurl.h"
@class NSUserActivity;
@@ -20,8 +21,11 @@
GURL _activeURL;
NSUserActivity* _userActivity;
+ handoff::Origin _origin;
}
+- (instancetype)initWithOrigin:(handoff::Origin)origin;
+
// The active URL is defined as the URL of the most recently accessed tab. This
// method should be called any time the active URL might have changed. This
// method is idempotent.

Powered by Google App Engine
This is Rietveld 408576698