blob: 28085f5f0227d6be8051a49fb7acf64bc511252e [file] [log] [blame]
// 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 "base/macros.h"
#include "base/threading/thread_checker.h"
#include "base/win/windows_types.h"
#include "ui/base/ui_base_export.h"
namespace ui {
class UI_BASE_EXPORT ScopedOleInitializer {
public:
ScopedOleInitializer();
~ScopedOleInitializer();
private:
THREAD_CHECKER(thread_checker_);
HRESULT hr_;
DISALLOW_COPY_AND_ASSIGN(ScopedOleInitializer);
};
} // namespace
#endif // UI_BASE_WIN_SCOPED_OLE_INITIALIZER_H_