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

Side by Side Diff: chrome/browser/extensions/extension_browsertest.h

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq 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 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 bool newtab_process_should_equal_opener, 147 bool newtab_process_should_equal_opener,
148 content::WebContents** newtab_result); 148 content::WebContents** newtab_result);
149 149
150 // Simulates a page navigating itself to an URL and waits for the 150 // Simulates a page navigating itself to an URL and waits for the
151 // navigation. 151 // navigation.
152 void NavigateInRenderer(content::WebContents* contents, const GURL& url); 152 void NavigateInRenderer(content::WebContents* contents, const GURL& url);
153 153
154 // Looks for an ExtensionHost whose URL has the given path component 154 // Looks for an ExtensionHost whose URL has the given path component
155 // (including leading slash). Also verifies that the expected number of hosts 155 // (including leading slash). Also verifies that the expected number of hosts
156 // are loaded. 156 // are loaded.
157 ExtensionHost* FindHostWithPath(ExtensionProcessManager* manager, 157 extensions::ExtensionHost* FindHostWithPath(ExtensionProcessManager* manager,
158 const std::string& path, 158 const std::string& path,
159 int expected_hosts); 159 int expected_hosts);
160 160
161 // content::NotificationObserver 161 // content::NotificationObserver
162 virtual void Observe(int type, 162 virtual void Observe(int type,
163 const content::NotificationSource& source, 163 const content::NotificationSource& source,
164 const content::NotificationDetails& details) OVERRIDE; 164 const content::NotificationDetails& details) OVERRIDE;
165 165
166 bool loaded_; 166 bool loaded_;
167 bool installed_; 167 bool installed_;
168 168
169 // test_data/extensions. 169 // test_data/extensions.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // When waiting for page action count to change, we wait until it reaches this 202 // When waiting for page action count to change, we wait until it reaches this
203 // value. 203 // value.
204 int target_page_action_count_; 204 int target_page_action_count_;
205 205
206 // When waiting for visible page action count to change, we wait until it 206 // When waiting for visible page action count to change, we wait until it
207 // reaches this value. 207 // reaches this value.
208 int target_visible_page_action_count_; 208 int target_visible_page_action_count_;
209 }; 209 };
210 210
211 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 211 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_bindings_apitest.cc ('k') | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698