Descriptioncros: Apply the Init() model to BrightnessLibrary API.
This applies the model introduced here http://codereview.chromium.org/7524014/,
at revision r94482.
Init() should not get called in the constructor, it should get called from
GetImpl().
Also, move the EnsureLoaded() check into Init() surrounding the libcros call.
BUG=None
TEST=None
R=stevenjb@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94769
Patch Set 1 : #
Total comments: 4
Patch Set 2 : CHECK #Patch Set 3 : brightness_connection_ is a typedef to a pointer allocated on the heap #
Messages
Total messages: 6 (0 generated)
|