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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/dylib_unittest.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 4 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 2010 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // be found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Functions for dynamically loading the trusted plugin when running unit 5 // Functions for dynamically loading the trusted plugin when running unit
6 // tests. 6 // tests.
7 7
8 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DYLIB_UNITTEST_H_ 8 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DYLIB_UNITTEST_H_
9 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DYLIB_UNITTEST_H_ 9 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DYLIB_UNITTEST_H_
10 10
11 #if NACL_WINDOWS 11 #if NACL_WINDOWS
12 #include <windows.h> 12 #include <windows.h>
13 typedef HINSTANCE DylibHandle; 13 typedef HINSTANCE DylibHandle;
(...skipping 16 matching lines...) Expand all
30 // Close the dynamic library and free all the system resources associated with 30 // Close the dynamic library and free all the system resources associated with
31 // it. Returns |true| on success. 31 // it. Returns |true| on success.
32 bool DylibClose(DylibHandle dl_handle); 32 bool DylibClose(DylibHandle dl_handle);
33 33
34 // Return a handle to the symbol named |name| in the library represented by 34 // Return a handle to the symbol named |name| in the library represented by
35 // |dl_handle|. Returns NULL ff the symbol does not exist, or some other error 35 // |dl_handle|. Returns NULL ff the symbol does not exist, or some other error
36 // occurs. 36 // occurs.
37 SymbolHandle GetSymbolHandle(DylibHandle dl_handle, const char* name); 37 SymbolHandle GetSymbolHandle(DylibHandle dl_handle, const char* name);
38 38
39 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DYLIB_UNITTEST_H_ 39 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DYLIB_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698