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

Side by Side Diff: third_party/WebKit/Source/wtf/Assertions.cpp

Issue 1820083005: Remove platform/NotImplemented.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. 3 * Copyright (C) 2007-2009 Torch Mobile, Inc.
4 * Copyright (C) 2011 University of Szeged. All rights reserved. 4 * Copyright (C) 2011 University of Szeged. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 { 253 {
254 if (channel->state != WTFLogChannelOn) 254 if (channel->state != WTFLogChannelOn)
255 return; 255 return;
256 256
257 va_list args; 257 va_list args;
258 va_start(args, format); 258 va_start(args, format);
259 vprintf_stderr_with_trailing_newline(format, args); 259 vprintf_stderr_with_trailing_newline(format, args);
260 va_end(args); 260 va_end(args);
261 } 261 }
262 262
263 void WTFLogVerbose(const char* file, int line, const char* function, WTFLogChann el* channel, const char* format, ...)
264 {
265 if (channel->state != WTFLogChannelOn)
266 return;
267
268 va_list args;
269 va_start(args, format);
270 vprintf_stderr_with_trailing_newline(format, args);
271 va_end(args);
272
273 printCallSite(file, line, function);
274 }
275
276 void WTFLogAlways(const char* format, ...) 263 void WTFLogAlways(const char* format, ...)
277 { 264 {
278 va_list args; 265 va_list args;
279 va_start(args, format); 266 va_start(args, format);
280 vprintf_stderr_with_trailing_newline(format, args); 267 vprintf_stderr_with_trailing_newline(format, args);
281 va_end(args); 268 va_end(args);
282 } 269 }
OLDNEW
« third_party/WebKit/Source/web/WebViewImpl.cpp ('K') | « third_party/WebKit/Source/wtf/Assertions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698