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

Side by Side Diff: ppapi/utility/non_thread_safe_ref_count.h

Issue 9030001: Move paint aggregator and the completion callback factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DEPS Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_NON_THREAD_SAFE_REF_COUNT_H_ 5 #ifndef PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_
6 #define PPAPI_CPP_NON_THREAD_SAFE_REF_COUNT_H_ 6 #define PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_
7 7
8 #include "ppapi/cpp/core.h" 8 #include "ppapi/cpp/core.h"
9 #include "ppapi/cpp/logging.h" 9 #include "ppapi/cpp/logging.h"
10 #include "ppapi/cpp/module.h" 10 #include "ppapi/cpp/module.h"
11 11
12 /// @file 12 /// @file
13 /// This file defines the APIs for maintaining a reference counter. 13 /// This file defines the APIs for maintaining a reference counter.
14 namespace pp { 14 namespace pp {
15 15
16 /// A simple reference counter that is not thread-safe. <strong>Note:</strong> 16 /// A simple reference counter that is not thread-safe. <strong>Note:</strong>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 private: 51 private:
52 int32_t ref_; 52 int32_t ref_;
53 #ifndef NDEBUG 53 #ifndef NDEBUG
54 bool is_main_thread_; 54 bool is_main_thread_;
55 #endif 55 #endif
56 }; 56 };
57 57
58 } // namespace pp 58 } // namespace pp
59 59
60 #endif // PPAPI_CPP_NON_THREAD_SAFE_REF_COUNT_H_ 60 #endif // PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698