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

Side by Side Diff: native_client_sdk/src/libraries/error_handling/error_handling.c

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 /* 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 * 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
4 * found in the LICENSE file. 3 * found in the LICENSE file. */
5 */
6
7 4
8 #include <assert.h> 5 #include <assert.h>
9 #include <inttypes.h> 6 #include <inttypes.h>
10 #include <pthread.h> 7 #include <pthread.h>
11 #include <stdio.h> 8 #include <stdio.h>
12 #include <stdlib.h> 9 #include <stdlib.h>
13 #include <string.h> 10 #include <string.h>
14 #include <sys/mman.h> 11 #include <sys/mman.h>
15 #include <unistd.h> 12 #include <unistd.h>
16 13
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 void EHRequestExceptionsJson(EHJsonHandler callback) { 253 void EHRequestExceptionsJson(EHJsonHandler callback) {
257 if (NULL == callback) return; 254 if (NULL == callback) return;
258 255
259 EHRequestExceptionsRaw(EHDefaultJsonHandler); 256 EHRequestExceptionsRaw(EHDefaultJsonHandler);
260 if (s_eh_exception_enabled) s_eh_json_callback = callback; 257 if (s_eh_exception_enabled) s_eh_json_callback = callback;
261 } 258 }
262 259
263 260
264 int EHHanderInstalled() { 261 int EHHanderInstalled() {
265 return s_eh_exception_enabled; 262 return s_eh_exception_enabled;
266 } 263 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698