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

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

Issue 104493005: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_ui_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "url/gurl.h" 9 #include "url/gurl.h"
10 10
11 using base::DictionaryValue;
12 using base::ListValue;
13 using content::WebContents; 11 using content::WebContents;
14 12
15 namespace extensions { 13 namespace extensions {
16 14
17 // static 15 // static
18 int ExtensionTabUtil::GetWindowId(const Browser* browser) { 16 int ExtensionTabUtil::GetWindowId(const Browser* browser) {
19 NOTIMPLEMENTED(); 17 NOTIMPLEMENTED();
20 return -1; 18 return -1;
21 } 19 }
22 20
23 // static 21 // static
24 int ExtensionTabUtil::GetWindowIdOfTabStripModel( 22 int ExtensionTabUtil::GetWindowIdOfTabStripModel(
25 const TabStripModel* tab_strip_model) { 23 const TabStripModel* tab_strip_model) {
26 NOTIMPLEMENTED(); 24 NOTIMPLEMENTED();
27 return -1; 25 return -1;
28 } 26 }
29 27
30 // static 28 // static
31 int ExtensionTabUtil::GetTabId(const WebContents* web_contents) { 29 int ExtensionTabUtil::GetTabId(const WebContents* web_contents) {
32 return SessionID::IdForTab(web_contents); 30 return SessionID::IdForTab(web_contents);
33 } 31 }
34 32
35 // static 33 // static
36 int ExtensionTabUtil::GetWindowIdOfTab(const WebContents* web_contents) { 34 int ExtensionTabUtil::GetWindowIdOfTab(const WebContents* web_contents) {
37 NOTIMPLEMENTED(); 35 NOTIMPLEMENTED();
38 return -1; 36 return -1;
39 } 37 }
40 38
41 // static 39 // static
42 DictionaryValue* ExtensionTabUtil::CreateTabValue(const WebContents* contents, 40 base::DictionaryValue* ExtensionTabUtil::CreateTabValue(
43 TabStripModel* tab_strip, 41 const WebContents* contents,
44 int tab_index, 42 TabStripModel* tab_strip,
45 const Extension* extension) { 43 int tab_index,
44 const Extension* extension) {
46 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
47 return NULL; 46 return NULL;
48 } 47 }
49 48
50 // static 49 // static
51 ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser, 50 base::ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser,
52 const Extension* extension) { 51 const Extension* extension) {
53 NOTIMPLEMENTED(); 52 NOTIMPLEMENTED();
54 return NULL; 53 return NULL;
55 } 54 }
56 55
57 // static 56 // static
58 DictionaryValue* ExtensionTabUtil::CreateTabValue( 57 base::DictionaryValue* ExtensionTabUtil::CreateTabValue(
59 const WebContents* contents, 58 const WebContents* contents,
60 TabStripModel* tab_strip, 59 TabStripModel* tab_strip,
61 int tab_index) { 60 int tab_index) {
62 NOTIMPLEMENTED(); 61 NOTIMPLEMENTED();
63 return NULL; 62 return NULL;
64 } 63 }
65 64
66 // static 65 // static
67 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, 66 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents,
68 TabStripModel** tab_strip_model, 67 TabStripModel** tab_strip_model,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 119 }
121 120
122 // static 121 // static
123 WindowController* ExtensionTabUtil::GetWindowControllerOfTab( 122 WindowController* ExtensionTabUtil::GetWindowControllerOfTab(
124 const WebContents* web_contents) { 123 const WebContents* web_contents) {
125 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
126 return NULL; 125 return NULL;
127 } 126 }
128 127
129 } // namespace extensions 128 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_ui_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698