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

Unified Diff: extensions/browser/extensions_test.h

Issue 789643004: Move chrome.alarms API from chrome/ to extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/extensions_test.h
diff --git a/extensions/browser/extensions_test.h b/extensions/browser/extensions_test.h
index ef71aeec8100d0677ba38920c79a01562e8da1e6..3189e27ec8647b6e7b80ea98bdeef71502417b39 100644
--- a/extensions/browser/extensions_test.h
+++ b/extensions/browser/extensions_test.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
+#include "content/public/test/test_renderer_host.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
@@ -15,6 +16,7 @@ class BrowserContext;
class ContentBrowserClient;
class ContentClient;
class ContentUtilityClient;
+class RenderViewHostTestEnabler;
}
namespace extensions {
@@ -55,6 +57,10 @@ class ExtensionsTest : public testing::Test {
scoped_ptr<content::BrowserContext> browser_context_;
scoped_ptr<TestExtensionsBrowserClient> extensions_browser_client_;
+ // The existence of this object enables tests via
+ // RenderViewHostTester.
+ content::RenderViewHostTestEnabler rvh_test_enabler_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionsTest);
};
« no previous file with comments | « extensions/browser/browser_context_keyed_service_factories.cc ('k') | extensions/common/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698