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

Side by Side Diff: ppapi/proxy/proxy_completion_callback_factory.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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 | « ppapi/proxy/proxy_channel.cc ('k') | ppapi/proxy/proxy_module.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROXY_PROXY_COMPLETION_CALLBACK_FACTORY_H_ 5 #ifndef PPAPI_PROXY_PROXY_COMPLETION_CALLBACK_FACTORY_H_
6 #define PPAPI_PROXY_PROXY_COMPLETION_CALLBACK_FACTORY_H_ 6 #define PPAPI_PROXY_PROXY_COMPLETION_CALLBACK_FACTORY_H_
7 7
8 #include <stdint.h>
9
8 #include "base/logging.h" 10 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "ppapi/cpp/completion_callback.h" 12 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/utility/completion_callback_factory.h" 13 #include "ppapi/utility/completion_callback_factory.h"
12 14
13 namespace ppapi { 15 namespace ppapi {
14 namespace proxy { 16 namespace proxy {
15 17
16 // This class is just like pp::NonThreadSafeThreadTraits but rather than using 18 // This class is just like pp::NonThreadSafeThreadTraits but rather than using
17 // pp::Module::core (which doesn't exist), it uses Chrome threads which do. 19 // pp::Module::core (which doesn't exist), it uses Chrome threads which do.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ProxyCompletionCallbackFactory() 80 ProxyCompletionCallbackFactory()
79 : pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits>() {} 81 : pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits>() {}
80 ProxyCompletionCallbackFactory(T* t) 82 ProxyCompletionCallbackFactory(T* t)
81 : pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits>(t) {} 83 : pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits>(t) {}
82 }; 84 };
83 85
84 } // namespace proxy 86 } // namespace proxy
85 } // namespace ppapi 87 } // namespace ppapi
86 88
87 #endif // PPAPI_PROXY_PROXY_COMPLETION_CALLBACK_FACTORY_H_ 89 #endif // PPAPI_PROXY_PROXY_COMPLETION_CALLBACK_FACTORY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/proxy_channel.cc ('k') | ppapi/proxy/proxy_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698