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

Unified Diff: extensions/browser/extension_function.h

Issue 2522763005: [Extensions] Remove the source_tab_id property on API request messages (Closed)
Patch Set: compile Created 4 years, 1 month 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 | « no previous file | extensions/browser/extension_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function.h
diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h
index 89ac5a2d24c149d14dea8c9a73a219e56acb0cef..95db5b7c19c804ee8136dc77b123a66676e4364e 100644
--- a/extensions/browser/extension_function.h
+++ b/extensions/browser/extension_function.h
@@ -296,9 +296,6 @@ class ExtensionFunction
response_callback_ = callback;
}
- void set_source_tab_id(int source_tab_id) { source_tab_id_ = source_tab_id; }
- int source_tab_id() const { return source_tab_id_; }
-
void set_source_context_type(extensions::Feature::Context type) {
source_context_type_ = type;
}
@@ -465,9 +462,6 @@ class ExtensionFunction
// is invoked.
extensions::functions::HistogramValue histogram_value_;
- // The ID of the tab triggered this function call, or -1 if there is no tab.
- int source_tab_id_;
-
// The type of the JavaScript context where this call originated.
extensions::Feature::Context source_context_type_;
« no previous file with comments | « no previous file | extensions/browser/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698