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

Unified Diff: chrome/browser/extensions/extension_tab_util_android.cc

Issue 10829186: Tabs API is usable without tabs permission. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 4 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: chrome/browser/extensions/extension_tab_util_android.cc
diff --git a/chrome/browser/extensions/extension_tab_util_android.cc b/chrome/browser/extensions/extension_tab_util_android.cc
index 2d8d641a17b64cbd7e33a269bea023d694aeb995..bf4380b6e8518c01c63efbfb96cd14e3ac43a455 100644
--- a/chrome/browser/extensions/extension_tab_util_android.cc
+++ b/chrome/browser/extensions/extension_tab_util_android.cc
@@ -32,26 +32,33 @@ int ExtensionTabUtil::GetWindowIdOfTab(const WebContents* web_contents) {
return -1;
}
-DictionaryValue* ExtensionTabUtil::CreateTabValue(const WebContents* contents) {
+DictionaryValue* ExtensionTabUtil::CreateTabValue(
+ const WebContents* contents,
+ const extensions::Extension* extension) {
NOTIMPLEMENTED();
return NULL;
}
-ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser) {
+ListValue* ExtensionTabUtil::CreateTabList(
+ const Browser* browser,
+ const extensions::Extension* extension) {
NOTIMPLEMENTED();
return NULL;
}
-DictionaryValue* ExtensionTabUtil::CreateTabValue(const WebContents* contents,
- TabStripModel* tab_strip,
- int tab_index) {
+DictionaryValue* ExtensionTabUtil::CreateTabValue(
+ const WebContents* contents,
+ TabStripModel* tab_strip,
+ int tab_index,
+ const extensions::Extension* extension) {
NOTIMPLEMENTED();
return NULL;
}
DictionaryValue* ExtensionTabUtil::CreateTabValueActive(
const WebContents* contents,
- bool active) {
+ bool active,
+ const extensions::Extension* extension) {
NOTIMPLEMENTED();
return NULL;
}
@@ -100,6 +107,13 @@ void ExtensionTabUtil::CreateTab(WebContents* web_contents,
NOTIMPLEMENTED();
}
+void MaybeStripEventArgsOfSensitiveData(
+ const std::string& event_name,
+ const extensions::Extension* extension,
+ base::ListValue* event_args) {
+ NOTIMPLEMENTED();
+}
+
// static
void ExtensionTabUtil::ForEachTab(
const base::Callback<void(WebContents*)>& callback) {

Powered by Google App Engine
This is Rietveld 408576698