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

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: Move tests to extensions/. 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 3f5dd0ac1eee240b495847a0b4c2e07d471d8bd0..80b28e7ce9b836d58a7dfd2346d4cda42f017750 100644
--- a/extensions/browser/extensions_test.h
+++ b/extensions/browser/extensions_test.h
@@ -8,12 +8,14 @@
#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 {
class BrowserContext;
class ContentClient;
class ContentBrowserClient;
+class RenderViewHostTestEnabler;
}
namespace extensions {
@@ -53,6 +55,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);
};

Powered by Google App Engine
This is Rietveld 408576698