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

Side by Side Diff: chrome/test/data/nacl/ppapi_test_lib/testable_callback.h

Issue 2637403002: Fix header guards in //chrome (Closed)
Patch Set: Created 3 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
« no previous file with comments | « chrome/test/data/nacl/ppapi_test_lib/test_interface.h ('k') | no next file » | 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) 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 NATIVE_CLIENT_TESTS_PPAPI_TEST_LIB_TESTABLE_CALLBACK_H 5 #ifndef CHROME_TEST_DATA_NACL_PPAPI_TEST_LIB_TESTABLE_CALLBACK_H_
6 #define NATIVE_CLIENT_TESTS_PPAPI_TEST_LIB_TESTABLE_CALLBACK_H 6 #define CHROME_TEST_DATA_NACL_PPAPI_TEST_LIB_TESTABLE_CALLBACK_H_
7 7
8 #include "ppapi/c/pp_completion_callback.h" 8 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
11 11
12 // NOTE: if you use you TestableCallback you will need to enable 12 // NOTE: if you use you TestableCallback you will need to enable
13 // testing interfaces in PPAPIBrowserTester(), e.g. 13 // testing interfaces in PPAPIBrowserTester(), e.g.
14 // "--enable-pepper-testing", c.f. 14 // "--enable-pepper-testing", c.f.
15 // tests/ppapi_browser/ppb_graphics2d/nacl.scons 15 // tests/ppapi_browser/ppb_graphics2d/nacl.scons
16 // 16 //
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static void Handler(void* user_data, int32_t result); 55 static void Handler(void* user_data, int32_t result);
56 56
57 bool have_result_; // is a result available? 57 bool have_result_; // is a result available?
58 int32_t result_; // value of the result 58 int32_t result_; // value of the result
59 bool force_async_; // force callback to be always called 59 bool force_async_; // force callback to be always called
60 bool post_quit_task_; // has cleanup beem performed 60 bool post_quit_task_; // has cleanup beem performed
61 unsigned run_count_; // number of times the callback has been called 61 unsigned run_count_; // number of times the callback has been called
62 PP_Instance instance_; 62 PP_Instance instance_;
63 }; 63 };
64 64
65 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_LIB_TESTABLE_CALLBACK_H 65 #endif // CHROME_TEST_DATA_NACL_PPAPI_TEST_LIB_TESTABLE_CALLBACK_H_
OLDNEW
« no previous file with comments | « chrome/test/data/nacl/ppapi_test_lib/test_interface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698