henrikg
91d6edef35
Add RTC_ prefix to (D)CHECKs and related macros.
...
We must remove dependency on Chromium, i.e. we can't use Chromium's base/logging.h. That means we need to define these macros in WebRTC also when doing Chromium builds. And this causes redefinition.
Alternative solutions:
* Check if we already have defined e.g. CHECK, and don't define them in that case. This makes us depend on include order in Chromium, which is not acceptable.
* Don't allow using the macros in WebRTC headers. Error prone since if someone adds it there by mistake it may compile fine, but later break if a header in added or order is changed in Chromium. That will be confusing and hard to enforce.
* Ensure that headers that are included by an embedder don't include our macros. This would require some heavy refactoring to be maintainable and enforcable.
* Changes in Chromium for this is obviously not an option.
BUG=chromium:468375
NOTRY=true
Review URL: https://codereview.webrtc.org/1335923002
Cr-Commit-Position: refs/heads/master@{#9964}
2015-09-17 07:24:51 +00:00
..
2014-07-08 12:10:51 +00:00
2015-09-17 07:24:51 +00:00
2014-11-20 22:28:14 +00:00
2015-02-26 14:43:50 +00:00
2015-01-28 12:38:16 +00:00
2015-09-04 08:07:01 +00:00
2015-02-12 12:20:50 +00:00
2013-05-08 10:04:06 +00:00
2013-05-29 14:27:38 +00:00
2013-05-29 14:27:38 +00:00
2015-06-30 08:32:47 +00:00
2015-03-04 13:04:54 +00:00
2015-07-06 10:09:15 +00:00
2015-03-17 16:44:54 +00:00
2015-02-23 21:29:45 +00:00
2013-08-05 16:22:53 +00:00
2013-12-24 05:06:12 +00:00
2015-07-06 10:09:15 +00:00
2015-07-06 10:09:15 +00:00
2015-04-29 00:55:43 +00:00
2015-07-14 17:45:07 +00:00
2015-04-24 11:56:44 +00:00
2015-04-21 12:25:42 +00:00
2014-04-14 20:08:03 +00:00
2015-07-11 01:10:08 +00:00
2015-09-17 07:24:51 +00:00
2015-07-11 01:10:08 +00:00
2015-04-14 19:28:03 +00:00
2015-04-14 19:28:03 +00:00
2015-04-14 19:28:03 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-01-12 21:51:21 +00:00
2015-01-12 21:51:21 +00:00
2015-07-06 08:51:01 +00:00
2015-07-29 08:47:04 +00:00
2015-09-17 07:24:51 +00:00
2015-09-16 12:37:52 +00:00
2013-10-02 13:15:34 +00:00
2015-09-16 12:37:52 +00:00
2015-07-06 08:51:01 +00:00
2015-09-17 07:24:51 +00:00
2015-07-24 07:58:29 +00:00
2015-09-01 08:11:36 +00:00
2015-09-17 07:24:51 +00:00
2015-09-08 20:25:20 +00:00
2015-09-14 19:50:49 +00:00
2015-09-17 07:24:51 +00:00
2015-09-14 19:50:49 +00:00
2015-03-17 16:44:54 +00:00
2015-07-01 10:00:20 +00:00
2015-09-16 13:33:25 +00:00
2015-09-16 13:33:25 +00:00
2015-06-30 12:09:47 +00:00
2015-09-16 12:37:52 +00:00
2014-11-20 22:28:14 +00:00
2015-09-16 12:37:52 +00:00
2015-06-30 09:12:09 +00:00
2015-07-30 12:44:34 +00:00
2015-09-16 12:37:52 +00:00
2015-09-08 09:40:36 +00:00
2015-09-17 07:24:51 +00:00
2015-09-16 12:37:52 +00:00
2015-07-28 11:02:58 +00:00
2014-11-07 11:02:12 +00:00
2015-04-01 22:33:15 +00:00
2015-04-01 22:33:15 +00:00
2015-04-01 22:33:15 +00:00
2015-03-04 13:04:54 +00:00
2015-09-11 15:33:42 +00:00
2015-09-11 15:33:42 +00:00
2015-09-11 15:33:42 +00:00
2015-03-25 15:11:34 +00:00
2015-07-31 13:10:16 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-07-07 15:32:56 +00:00
2015-09-17 07:24:51 +00:00
2015-03-09 11:54:45 +00:00
2014-12-15 22:09:40 +00:00
2015-06-08 07:54:24 +00:00
2015-09-17 07:24:51 +00:00
2015-09-08 20:25:20 +00:00
2015-03-17 16:44:54 +00:00
2015-02-26 14:43:50 +00:00
2015-08-10 13:08:46 +00:00
2015-09-17 07:24:51 +00:00
2015-04-14 19:28:03 +00:00
2015-09-17 07:24:51 +00:00
2015-09-14 13:42:49 +00:00
2015-08-10 13:08:46 +00:00
2015-03-17 16:44:54 +00:00
2014-07-22 06:48:58 +00:00
2014-07-22 06:48:58 +00:00
2014-07-11 19:09:59 +00:00
2013-07-10 15:40:42 +00:00
2013-07-03 15:12:26 +00:00
2014-11-20 22:28:14 +00:00
2014-11-20 22:28:14 +00:00
2015-09-16 12:37:52 +00:00