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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps_instance.h

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SIMPLE_PS_INSTANCE_H_ 5 #ifndef PPAPI_SIMPLE_PS_INSTANCE_H_
6 #define PPAPI_SIMPLE_PS_INSTANCE_H_ 6 #define PPAPI_SIMPLE_PS_INSTANCE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/c/pp_stdint.h" 11 #include "ppapi/c/pp_stdint.h"
12 #include "ppapi/c/ppb_core.h" 12 #include "ppapi/c/ppb_core.h"
13 #include "ppapi/c/ppb_var.h" 13 #include "ppapi/c/ppb_var.h"
14 #include "ppapi/c/ppb_view.h" 14 #include "ppapi/c/ppb_view.h"
15 15
16 #include "ppapi/cpp/fullscreen.h" 16 #include "ppapi/cpp/fullscreen.h"
17 #include "ppapi/cpp/instance.h" 17 #include "ppapi/cpp/instance.h"
18 #include "ppapi/cpp/message_loop.h" 18 #include "ppapi/cpp/message_loop.h"
19 #include "ppapi/cpp/mouse_lock.h" 19 #include "ppapi/cpp/mouse_lock.h"
20 20
21 #include "ppapi/utility/completion_callback_factory.h" 21 #include "ppapi/utility/completion_callback_factory.h"
22 22
23 #include "ppapi_simple/ps_event.h" 23 #include "ppapi_simple/ps_event.h"
24 #include "ppapi_simple/ps_main.h" 24 #include "ppapi_simple/ps_main.h"
25 25
26 #include "utils/thread_safe_queue.h" 26 #include "sdk_util/thread_safe_queue.h"
27 27
28 28
29 typedef std::map<std::string, std::string> PropertyMap_t; 29 typedef std::map<std::string, std::string> PropertyMap_t;
30 30
31 class PSInstance : public pp::Instance { 31 class PSInstance : public pp::Instance {
32 public: 32 public:
33 enum Verbosity { 33 enum Verbosity {
34 PSV_SILENT, 34 PSV_SILENT,
35 PSV_ERROR, 35 PSV_ERROR,
36 PSV_WARN, 36 PSV_WARN,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 PSMainFunc_t main_cb_; 113 PSMainFunc_t main_cb_;
114 114
115 const PPB_Core* ppb_core_; 115 const PPB_Core* ppb_core_;
116 const PPB_Var* ppb_var_; 116 const PPB_Var* ppb_var_;
117 const PPB_View* ppb_view_; 117 const PPB_View* ppb_view_;
118 }; 118 };
119 119
120 #endif // PPAPI_MAIN_PS_INSTANCE_H_ 120 #endif // PPAPI_MAIN_PS_INSTANCE_H_
121 121
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_simple/ps_event.h ('k') | native_client_sdk/src/libraries/sdk_util/auto_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698