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

Unified Diff: chrome/browser/extensions/api/image_writer_private/operation_unittest.cc

Issue 263393002: Remove NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED from c/b/e/api (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 6 years, 7 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/api/image_writer_private/operation_unittest.cc
diff --git a/chrome/browser/extensions/api/image_writer_private/operation_unittest.cc b/chrome/browser/extensions/api/image_writer_private/operation_unittest.cc
index 8012209eb9c91fddc28228d174c8d35c4a2f8cfb..4a12d726f611c3f5347ce4fb8b6d4226807b9dae 100644
--- a/chrome/browser/extensions/api/image_writer_private/operation_unittest.cc
+++ b/chrome/browser/extensions/api/image_writer_private/operation_unittest.cc
@@ -65,6 +65,8 @@ class OperationForTest : public Operation {
class ImageWriterOperationTest : public ImageWriterUnitTestBase {
protected:
+ ImageWriterOperationTest()
+ : profile_(new TestingProfile), manager_(profile_.get()) {}
virtual void SetUp() OVERRIDE {
ImageWriterUnitTestBase::SetUp();
@@ -97,6 +99,8 @@ class ImageWriterOperationTest : public ImageWriterUnitTestBase {
base::FilePath image_path_;
base::FilePath zip_file_;
+ scoped_ptr<TestingProfile> profile_;
+
MockOperationManager manager_;
scoped_refptr<FakeImageWriterClient> client_;
scoped_refptr<OperationForTest> operation_;

Powered by Google App Engine
This is Rietveld 408576698