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

Unified Diff: chrome/browser/extensions/sandboxed_unpacker_unittest.cc

Issue 14694010: Consolidate manifest handler registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: chrome/browser/extensions/sandboxed_unpacker_unittest.cc
diff --git a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
index 0f87990de7d0ab3c60ba881a189ec147a3bf374a..ddb56c01a5dae50b9277ed23fbe7fafdb5ad7f7c 100644
--- a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
+++ b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
@@ -11,9 +11,7 @@
#include "base/values.h"
#include "chrome/browser/extensions/sandboxed_unpacker.h"
#include "chrome/common/chrome_paths.h"
-#include "chrome/common/extensions/api/i18n/default_locale_handler.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/manifest_handler.h"
#include "chrome/common/extensions/unpacker.h"
#include "content/public/test/test_browser_thread.h"
#include "extensions/common/constants.h"
@@ -68,7 +66,6 @@ class SandboxedUnpackerTest : public testing::Test {
// It will delete itself.
client_ = new MockSandboxedUnpackerClient;
client_->DelegateToFake();
- (new extensions::DefaultLocaleHandler)->Register();
}
virtual void TearDown() {
@@ -76,7 +73,6 @@ class SandboxedUnpackerTest : public testing::Test {
// it posts a task to it.
sandboxed_unpacker_ = NULL;
loop_.RunUntilIdle();
- ManifestHandler::ClearRegistryForTesting();
}
void SetupUnpacker(const std::string& crx_name) {
« no previous file with comments | « chrome/browser/extensions/image_loader_unittest.cc ('k') | chrome/browser/extensions/script_bubble_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698