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

Unified Diff: chrome/test/base/in_process_browser_test.h

Issue 8590016: Move the PluginDataRemover class to content, and remove the chrome pieces from it. This class rea... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « chrome/common/chrome_switches.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/in_process_browser_test.h
===================================================================
--- chrome/test/base/in_process_browser_test.h (revision 110324)
+++ chrome/test/base/in_process_browser_test.h (working copy)
@@ -26,6 +26,7 @@
namespace content {
class ContentRendererClient;
+class ResourceContext;
}
namespace net {
@@ -88,6 +89,10 @@
// Returns the browser created by CreateBrowser.
Browser* browser() const { return browser_; }
+ // Returns the ResourceContext from browser_. Needed because tests in content
+ // don't have access to Profile.
+ const content::ResourceContext& GetResourceContext();
+
// Convenience methods for adding tabs to a Browser.
void AddTabAtIndexToBrowser(Browser* browser,
int index,
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698