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

Issue 101653006: Remove GetDefaultProfile from various Android related code (Closed)

Created:
7 years ago by Mr4D (OOO till 08-26)
Modified:
6 years, 11 months ago
Reviewers:
aruslan, Yaron, Evan Stade
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

Remove GetDefaultProfile from various Android related code Trying to get rid of GetDefaultProfile since it was depricated since 2011. See https://docs.google.com/a/google.com/document/d/1Fo0_ixnmOYDZKjcdzU3btED3yWINpdBvzpgl7EBOZro/edit#heading=h.5pkgd9yd16w5 for more informations! BUG=322682 TEST=covered by existing unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243456

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -12 lines) Patch
M chrome/browser/android/dev_tools_server.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/android/signin/signin_manager_android.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.cc View 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
7 years ago (2013-12-20 21:48:52 UTC) #1
Mr4D (OOO till 08-26)
+yfriedman: Changed reviewers - that way there is a slim chance that we can do ...
7 years ago (2013-12-20 21:51:55 UTC) #2
Evan Stade
-estade, +aruslan
7 years ago (2013-12-20 22:46:31 UTC) #3
aruslan
LGTM -- it looks like a safe replacement given that GetUserActiveProfile() == GetDefaultProfile() on a ...
7 years ago (2013-12-20 23:31:07 UTC) #4
Yaron
lgtm
6 years, 11 months ago (2014-01-06 17:26:23 UTC) #5
Yaron
https://codereview.chromium.org/101653006/diff/1/chrome/browser/android/signin/signin_manager_android.cc File chrome/browser/android/signin/signin_manager_android.cc (right): https://codereview.chromium.org/101653006/diff/1/chrome/browser/android/signin/signin_manager_android.cc#newcode77 chrome/browser/android/signin/signin_manager_android.cc:77: DCHECK(g_browser_process); Actually can you drop these two DCHECKs. They ...
6 years, 11 months ago (2014-01-06 22:00:17 UTC) #6
Mr4D (OOO till 08-26)
Addressed. It appears that I need another owners review. Estade - could you please have ...
6 years, 11 months ago (2014-01-07 17:12:14 UTC) #7
Evan Stade
lgtm
6 years, 11 months ago (2014-01-07 20:25:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/101653006/110001
6 years, 11 months ago (2014-01-07 21:10:38 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242725
6 years, 11 months ago (2014-01-07 22:57:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/101653006/110001
6 years, 11 months ago (2014-01-07 22:59:14 UTC) #11
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 01:10:06 UTC) #12
Message was sent while issue was closed.
Change committed as 243456

Powered by Google App Engine
This is Rietveld 408576698