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

Issue 428783008: GetActiveUserProfile() should not be called before profile is initialized. (Closed)

Created:
6 years, 4 months ago by Alexander Alekseev
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GetActiveUserProfile() should not be called before profile is initialized. During extension initialization we should not rely on GetActiveUserProfile(). BUG=397971 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287371

Patch Set 1 #

Patch Set 2 : Fix signin profile support. #

Patch Set 3 : Removed IME::GetProfile() completely. #

Patch Set 4 : Pass Profile only to RegisterIme and AddInputMethodExtension. #

Patch Set 5 : Cleanup. #

Total comments: 2

Patch Set 6 : Comment on GetProfile added. #

Messages

Total messages: 17 (0 generated)
Alexander Alekseev
Please review.
6 years, 4 months ago (2014-08-01 16:22:14 UTC) #1
Nikita (slow)
lgtm
6 years, 4 months ago (2014-08-01 16:24:52 UTC) #2
Alexander Alekseev
The second version gets correct signin profile.
6 years, 4 months ago (2014-08-01 18:13:32 UTC) #3
Nikita (slow)
lgtm
6 years, 4 months ago (2014-08-01 20:31:10 UTC) #4
Shu Chen
This cl is incomplete to fix the bug. Please refer to my cl https://codereview.chromium.org/430243003/. InputImeEventRouter::RegisterIme() ...
6 years, 4 months ago (2014-08-01 22:11:07 UTC) #5
Alexander Alekseev
On 2014/08/01 22:11:07, Shu Chen wrote: > This cl is incomplete to fix the bug. ...
6 years, 4 months ago (2014-08-02 04:51:48 UTC) #6
Shu Chen
This CL makes all profile instances passing to IMF, which may potentially break things. I ...
6 years, 4 months ago (2014-08-02 08:36:01 UTC) #7
Alexander Alekseev
On 2014/08/02 08:36:01, Shu Chen wrote: > This CL makes all profile instances passing to ...
6 years, 4 months ago (2014-08-02 13:50:26 UTC) #8
Alexander Alekseev
+ yukishiino@: Please review: chromeos/ime/input_method_manager.h
6 years, 4 months ago (2014-08-02 13:55:33 UTC) #9
Yuki
lgtm for chromeos/ime/input_method_manager.h
6 years, 4 months ago (2014-08-02 14:07:49 UTC) #10
Shu Chen
lgtm
6 years, 4 months ago (2014-08-02 23:15:39 UTC) #11
Alexander Alekseev
Nikita, please, take another look.
6 years, 4 months ago (2014-08-02 23:32:36 UTC) #12
Nikita (slow)
lgtm https://codereview.chromium.org/428783008/diff/80001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): https://codereview.chromium.org/428783008/diff/80001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode870 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:870: Profile* InputMethodManagerImpl::GetProfile() const { This method is a ...
6 years, 4 months ago (2014-08-04 12:51:39 UTC) #13
Alexander Alekseev
https://codereview.chromium.org/428783008/diff/80001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): https://codereview.chromium.org/428783008/diff/80001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode870 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:870: Profile* InputMethodManagerImpl::GetProfile() const { On 2014/08/04 12:51:39, Nikita Kostylev ...
6 years, 4 months ago (2014-08-04 16:24:13 UTC) #14
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
6 years, 4 months ago (2014-08-04 16:24:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/428783008/100001
6 years, 4 months ago (2014-08-04 16:25:43 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 18:23:00 UTC) #17
Message was sent while issue was closed.
Change committed as 287371

Powered by Google App Engine
This is Rietveld 408576698