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

Issue 25385006: Simplify the macro for this deprecation. g_type_init was deprecated in glib version 2.36. The prev… (Closed)

Created:
7 years, 2 months ago by atreat
Modified:
7 years, 2 months ago
Reviewers:
eroman, akalin
CC:
chromium-reviews, cbentzel+watch_chromium.org, do-not-use, yael.aharon1, Lei Zhang
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Simplify the macro for this deprecation. g_type_init was deprecated in glib version 2.36. The previous macros were not working for my clang linux build on ubuntu 13.04. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227782

Patch Set 1 #

Total comments: 1

Patch Set 2 : Changed the patch to mirror other code #

Total comments: 2

Patch Set 3 : Match browser_main_loop.cc more closely #

Total comments: 1

Patch Set 4 : Update according to reviewer #

Patch Set 5 : Try to fix the build on the CQ again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -17 lines) Patch
M net/tools/net_watcher/net_watcher.cc View 1 2 3 4 2 chunks +7 lines, -17 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
atreat
My linux build was failing to compile with clang and these macros were the problem. ...
7 years, 2 months ago (2013-10-03 15:49:25 UTC) #1
eseidel1
Unfortunately I'm not an owner for this directory. Erg or eroman come to mind, but ...
7 years, 2 months ago (2013-10-03 16:23:17 UTC) #2
atreat
Added eroman after checking the OWNERS file. Thanks.
7 years, 2 months ago (2013-10-03 17:36:54 UTC) #3
akalin
https://codereview.chromium.org/25385006/diff/1/net/tools/net_watcher/net_watcher.cc File net/tools/net_watcher/net_watcher.cc (right): https://codereview.chromium.org/25385006/diff/1/net/tools/net_watcher/net_watcher.cc#newcode139 net/tools/net_watcher/net_watcher.cc:139: #if (GLIB_MAJOR_VERSION <= 2 && GLIB_MINOR_VERSION < 36) Shouldn't ...
7 years, 2 months ago (2013-10-04 17:24:48 UTC) #4
atreat
I've edited the change so that it conforms to the similar code in browser_main_loop
7 years, 2 months ago (2013-10-04 21:06:32 UTC) #5
akalin
https://codereview.chromium.org/25385006/diff/7001/net/tools/net_watcher/net_watcher.cc File net/tools/net_watcher/net_watcher.cc (left): https://codereview.chromium.org/25385006/diff/7001/net/tools/net_watcher/net_watcher.cc#oldcode135 net/tools/net_watcher/net_watcher.cc:135: // Needed so ProxyConfigServiceLinux can use gconf. can you ...
7 years, 2 months ago (2013-10-05 06:24:30 UTC) #6
atreat
Fixed to match the code in browser_main_loop more closely.
7 years, 2 months ago (2013-10-07 14:38:59 UTC) #7
akalin
lgtm
7 years, 2 months ago (2013-10-07 22:27:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/12001
7 years, 2 months ago (2013-10-07 22:29:58 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-07 23:11:51 UTC) #10
akalin
https://codereview.chromium.org/25385006/diff/12001/net/tools/net_watcher/net_watcher.cc File net/tools/net_watcher/net_watcher.cc (right): https://codereview.chromium.org/25385006/diff/12001/net/tools/net_watcher/net_watcher.cc#newcode134 net/tools/net_watcher/net_watcher.cc:134: #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) looks like you ...
7 years, 2 months ago (2013-10-07 23:24:54 UTC) #11
atreat
On 2013/10/07 23:24:54, akalin wrote: > https://codereview.chromium.org/25385006/diff/12001/net/tools/net_watcher/net_watcher.cc > File net/tools/net_watcher/net_watcher.cc (right): > > https://codereview.chromium.org/25385006/diff/12001/net/tools/net_watcher/net_watcher.cc#newcode134 > ...
7 years, 2 months ago (2013-10-08 01:20:27 UTC) #12
akalin
On 2013/10/08 01:20:27, atreat wrote: > On 2013/10/07 23:24:54, akalin wrote: > > > https://codereview.chromium.org/25385006/diff/12001/net/tools/net_watcher/net_watcher.cc ...
7 years, 2 months ago (2013-10-08 01:24:04 UTC) #13
atreat
On 2013/10/08 01:24:04, akalin wrote: > I don't understand your message. Previously, the #if for ...
7 years, 2 months ago (2013-10-08 02:54:34 UTC) #14
akalin
yeah, this is just a tool executable, so it's not a big deal. still lgtm.
7 years, 2 months ago (2013-10-08 20:24:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/15001
7 years, 2 months ago (2013-10-08 20:25:00 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-08 21:06:39 UTC) #17
Lei Zhang
+yael FYI r168690 is titled "Avoid calling into glib on ChromeOS" but doesn't say why. ...
7 years, 2 months ago (2013-10-08 21:40:55 UTC) #18
pauljensen
Linux uses ProxyConfigServiceLinux which uses glib. CrOS uses chromeos::ProxyConfigServiceImpl which does not use glib. r168690 ...
7 years, 2 months ago (2013-10-08 21:47:52 UTC) #19
akalin
On 2013/10/08 21:47:52, pauljensen wrote: > Linux uses ProxyConfigServiceLinux which uses glib. > CrOS uses ...
7 years, 2 months ago (2013-10-08 21:59:05 UTC) #20
akalin
On 2013/10/08 21:59:05, akalin wrote: > On 2013/10/08 21:47:52, pauljensen wrote: > > Linux uses ...
7 years, 2 months ago (2013-10-08 21:59:57 UTC) #21
pauljensen
To more directly answer your question, I don't think CrOS uses glib. glib is from ...
7 years, 2 months ago (2013-10-08 22:00:13 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/69001
7 years, 2 months ago (2013-10-09 14:22:28 UTC) #23
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-09 14:32:19 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/69001
7 years, 2 months ago (2013-10-09 15:02:34 UTC) #25
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-09 16:11:20 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/69001
7 years, 2 months ago (2013-10-09 16:22:40 UTC) #27
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-09 16:29:22 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/69001
7 years, 2 months ago (2013-10-09 16:46:37 UTC) #29
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-09 17:23:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/25385006/69001
7 years, 2 months ago (2013-10-09 18:40:48 UTC) #31
commit-bot: I haz the power
7 years, 2 months ago (2013-10-09 19:54:20 UTC) #32
Message was sent while issue was closed.
Change committed as 227782

Powered by Google App Engine
This is Rietveld 408576698