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

Side by Side Diff: chrome/browser/extensions/extension_tab_util_android.cc

Issue 11824004: Do not pass URLs in onUpdated events to extensions unless they have the (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update test Created 7 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_tab_util.h" 5 #include "chrome/browser/extensions/extension_tab_util.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/sessions/session_id.h" 8 #include "chrome/browser/sessions/session_id.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 ListValue* ExtensionTabUtil::CreateTabList( 44 ListValue* ExtensionTabUtil::CreateTabList(
45 const Browser* browser, 45 const Browser* browser,
46 const extensions::Extension* extension) { 46 const extensions::Extension* extension) {
47 NOTIMPLEMENTED(); 47 NOTIMPLEMENTED();
48 return NULL; 48 return NULL;
49 } 49 }
50 50
51 DictionaryValue* ExtensionTabUtil::CreateTabValue( 51 DictionaryValue* ExtensionTabUtil::CreateTabValue(
52 const WebContents* contents, 52 const WebContents* contents,
53 TabStripModel* tab_strip, 53 TabStripModel* tab_strip,
54 int tab_index, 54 int tab_index) {
55 IncludePrivacySensitiveFields include_privacy_sensitive_fields) {
56 NOTIMPLEMENTED(); 55 NOTIMPLEMENTED();
57 return NULL; 56 return NULL;
58 } 57 }
59 58
60 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, 59 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents,
61 TabStripModel** tab_strip_model, 60 TabStripModel** tab_strip_model,
62 int* tab_index) { 61 int* tab_index) {
63 NOTIMPLEMENTED(); 62 NOTIMPLEMENTED();
64 return false; 63 return false;
65 } 64 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const base::Callback<void(WebContents*)>& callback) { 105 const base::Callback<void(WebContents*)>& callback) {
107 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
108 } 107 }
109 108
110 // static 109 // static
111 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( 110 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab(
112 const WebContents* web_contents) { 111 const WebContents* web_contents) {
113 NOTIMPLEMENTED(); 112 NOTIMPLEMENTED();
114 return NULL; 113 return NULL;
115 } 114 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_util.cc ('k') | chrome/browser/extensions/extension_tabs_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698