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

Side by Side Diff: src/utils/win/SkAutoCoInitialize.h

Issue 2070983002: Move headers in include/utils/win to src/utils/win. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Really rebase. Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « include/utils/win/SkTScopedComPtr.h ('k') | src/utils/win/SkHRESULT.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkAutoCo_DEFINED 8 #ifndef SkAutoCo_DEFINED
9 #define SkAutoCo_DEFINED 9 #define SkAutoCo_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 #ifdef SK_BUILD_FOR_WIN 13 #ifdef SK_BUILD_FOR_WIN
14 14
15 #include "../../private/SkLeanWindows.h" 15 #include "SkLeanWindows.h"
16 16
17 /** 17 /**
18 * An instance of this class initializes COM on creation 18 * An instance of this class initializes COM on creation
19 * and closes the COM library on destruction. 19 * and closes the COM library on destruction.
20 */ 20 */
21 class SkAutoCoInitialize : SkNoncopyable { 21 class SkAutoCoInitialize : SkNoncopyable {
22 private: 22 private:
23 HRESULT fHR; 23 HRESULT fHR;
24 public: 24 public:
25 SkAutoCoInitialize(); 25 SkAutoCoInitialize();
26 ~SkAutoCoInitialize(); 26 ~SkAutoCoInitialize();
27 bool succeeded(); 27 bool succeeded();
28 }; 28 };
29 29
30 #endif // SK_BUILD_FOR_WIN 30 #endif // SK_BUILD_FOR_WIN
31 #endif // SkAutoCo_DEFINED 31 #endif // SkAutoCo_DEFINED
OLDNEW
« no previous file with comments | « include/utils/win/SkTScopedComPtr.h ('k') | src/utils/win/SkHRESULT.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698