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

Unified Diff: ui/base/win/scoped_ole_initializer.h

Issue 860873002: Continue deleting code in ui/. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 2015 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
« no previous file with comments | « ui/base/win/open_file_name_win_unittest.cc ('k') | ui/base/win/scoped_ole_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/scoped_ole_initializer.h
diff --git a/ui/base/win/scoped_ole_initializer.h b/ui/base/win/scoped_ole_initializer.h
deleted file mode 100644
index b2e81d22c419e14ec0ebc4719f851a3e47085889..0000000000000000000000000000000000000000
--- a/ui/base/win/scoped_ole_initializer.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_BASE_WIN_SCOPED_OLE_INITIALIZER_H_
-#define UI_BASE_WIN_SCOPED_OLE_INITIALIZER_H_
-
-#include <ole2.h>
-
-#include "base/basictypes.h"
-#include "ui/base/ui_base_export.h"
-
-namespace ui {
-
-class UI_BASE_EXPORT ScopedOleInitializer {
- public:
- ScopedOleInitializer();
- ~ScopedOleInitializer();
-
- private:
-#ifndef NDEBUG
- // In debug builds we use this variable to catch a potential bug where a
- // ScopedOleInitializer instance is deleted on a different thread than it
- // was initially created on. If that ever happens it can have bad
- // consequences and the cause can be tricky to track down.
- DWORD thread_id_;
-#endif
- HRESULT hr_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedOleInitializer);
-};
-
-} // namespace
-
-#endif // UI_BASE_WIN_SCOPED_OLE_INITIALIZER_H_
« no previous file with comments | « ui/base/win/open_file_name_win_unittest.cc ('k') | ui/base/win/scoped_ole_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698