OLD | NEW |
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 #ifdef _MSC_VER | 5 #ifdef _MSC_VER |
6 // Do not warn about use of std::copy with raw pointers. | 6 // Do not warn about use of std::copy with raw pointers. |
7 #pragma warning(disable : 4996) | 7 #pragma warning(disable : 4996) |
8 #endif | 8 #endif |
9 | 9 |
10 #include "native_client/src/trusted/plugin/plugin.h" | 10 #include "native_client/src/trusted/plugin/plugin.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "native_client/src/shared/platform/nacl_check.h" | 32 #include "native_client/src/shared/platform/nacl_check.h" |
33 #include "native_client/src/shared/ppapi_proxy/browser_ppp.h" | 33 #include "native_client/src/shared/ppapi_proxy/browser_ppp.h" |
34 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 34 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
35 #include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h" | 35 #include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h" |
36 #include "native_client/src/trusted/plugin/json_manifest.h" | 36 #include "native_client/src/trusted/plugin/json_manifest.h" |
37 #include "native_client/src/trusted/plugin/nacl_subprocess.h" | 37 #include "native_client/src/trusted/plugin/nacl_subprocess.h" |
38 #include "native_client/src/trusted/plugin/nexe_arch.h" | 38 #include "native_client/src/trusted/plugin/nexe_arch.h" |
39 #include "native_client/src/trusted/plugin/plugin_error.h" | 39 #include "native_client/src/trusted/plugin/plugin_error.h" |
40 #include "native_client/src/trusted/plugin/scriptable_plugin.h" | 40 #include "native_client/src/trusted/plugin/scriptable_plugin.h" |
41 #include "native_client/src/trusted/plugin/service_runtime.h" | 41 #include "native_client/src/trusted/plugin/service_runtime.h" |
42 #include "native_client/src/trusted/plugin/string_encoding.h" | |
43 #include "native_client/src/trusted/plugin/utility.h" | 42 #include "native_client/src/trusted/plugin/utility.h" |
44 #include "native_client/src/trusted/service_runtime/nacl_error_code.h" | 43 #include "native_client/src/trusted/service_runtime/nacl_error_code.h" |
45 | 44 |
46 #include "ppapi/c/dev/ppb_console_dev.h" | 45 #include "ppapi/c/dev/ppb_console_dev.h" |
47 #include "ppapi/c/dev/ppp_find_dev.h" | 46 #include "ppapi/c/dev/ppp_find_dev.h" |
48 #include "ppapi/c/dev/ppp_printing_dev.h" | 47 #include "ppapi/c/dev/ppp_printing_dev.h" |
49 #include "ppapi/c/dev/ppp_scrollbar_dev.h" | 48 #include "ppapi/c/dev/ppp_scrollbar_dev.h" |
50 #include "ppapi/c/dev/ppp_selection_dev.h" | 49 #include "ppapi/c/dev/ppp_selection_dev.h" |
51 #include "ppapi/c/dev/ppp_widget_dev.h" | 50 #include "ppapi/c/dev/ppp_widget_dev.h" |
52 #include "ppapi/c/dev/ppp_zoom_dev.h" | 51 #include "ppapi/c/dev/ppp_zoom_dev.h" |
(...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1922 typedef void (__cdecl *DumpProcessFunction)(); | 1921 typedef void (__cdecl *DumpProcessFunction)(); |
1923 // Find the dump function inside chrome.exe and call it. | 1922 // Find the dump function inside chrome.exe and call it. |
1924 DumpProcessFunction request_dump = reinterpret_cast<DumpProcessFunction>( | 1923 DumpProcessFunction request_dump = reinterpret_cast<DumpProcessFunction>( |
1925 ::GetProcAddress(::GetModuleHandle(NULL), "DumpProcessWithoutCrash")); | 1924 ::GetProcAddress(::GetModuleHandle(NULL), "DumpProcessWithoutCrash")); |
1926 if (request_dump) | 1925 if (request_dump) |
1927 request_dump(); | 1926 request_dump(); |
1928 #endif | 1927 #endif |
1929 } | 1928 } |
1930 | 1929 |
1931 } // namespace plugin | 1930 } // namespace plugin |
OLD | NEW |