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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 13533026: initialize Ole so that RegisterDragDrop doesn't fail on Windows (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
index ab590097b90750ddf62d8f8ae2a6a6050eb07bcc..69f19cb4a2fd8c11e75883404b0c185aeb485cc8 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -25,6 +25,10 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#if defined(OS_WIN)
+#include "ui/base/win/scoped_ole_initializer.h"
+#endif
+
using testing::_;
namespace autofill {
@@ -257,6 +261,11 @@ class AutofillDialogControllerTest : public testing::Test {
void FinishedCallback(const FormStructure* form_structure,
const std::string& google_transaction_id) {}
+#if defined(OS_WIN)
+ // http://crbug.com/227221
+ ui::ScopedOleInitializer ole_initializer_;
+#endif
+
// A bunch of threads are necessary for classes like TestWebContents and
// URLRequestContextGetter not to fall over.
MessageLoopForUI loop_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698