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

Issue 26740005: Let BaseChromiumApplication manage the tracing controller (Closed)

Created:
7 years, 2 months ago by Xianzhu
Modified:
7 years, 2 months ago
Reviewers:
joth, Yaron, Sami
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Let BaseChromiumApplication manage the tracing controller - Reduce duplicated code; - Allow tracing during the whole life cycle of the application (TODO: support tracing before the native library is loaded); - Avoid conflict between multiple tracing controllers. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228839

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix #

Total comments: 9

Patch Set 3 : Register until idle #

Patch Set 4 : Fix style issues #

Patch Set 5 : Keep BaseChromiumApplication (required by native unit tests) #

Messages

Total messages: 17 (0 generated)
Sami
https://codereview.chromium.org/26740005/diff/1/content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java File content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java (right): https://codereview.chromium.org/26740005/diff/1/content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java#newcode32 content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java:32: getTracingController().unregisterReceiver(this); Is this backwards by any chance? :)
7 years, 2 months ago (2013-10-10 16:36:41 UTC) #1
Xianzhu
https://codereview.chromium.org/26740005/diff/1/content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java File content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java (right): https://codereview.chromium.org/26740005/diff/1/content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java#newcode32 content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java:32: getTracingController().unregisterReceiver(this); On 2013/10/10 16:36:41, Sami wrote: > Is this ...
7 years, 2 months ago (2013-10-10 16:42:15 UTC) #2
Xianzhu
7 years, 2 months ago (2013-10-10 18:05:34 UTC) #3
Xianzhu
-sky, +skyostil
7 years, 2 months ago (2013-10-10 18:32:32 UTC) #4
Yaron
Sorry for being dim but can you elaborate on how this enables us to avoid ...
7 years, 2 months ago (2013-10-11 09:08:49 UTC) #5
Sami
On 2013/10/11 09:08:49, Yaron wrote: > Sorry for being dim but can you elaborate on ...
7 years, 2 months ago (2013-10-11 14:25:27 UTC) #6
Xianzhu
https://codereview.chromium.org/26740005/diff/5001/content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java File content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java (right): https://codereview.chromium.org/26740005/diff/5001/content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java#newcode15 content/public/android/java/src/org/chromium/content/app/BaseChromiumApplication.java:15: * Basic application functionality that should be shared among ...
7 years, 2 months ago (2013-10-11 18:10:33 UTC) #7
Yaron
Sami: how did you previously get multiple instances? For the most part we only have ...
7 years, 2 months ago (2013-10-15 17:01:34 UTC) #8
Sami
On 2013/10/15 17:01:34, Yaron wrote: > Sami: how did you previously get multiple instances? For ...
7 years, 2 months ago (2013-10-15 17:08:39 UTC) #9
Xianzhu
There will be two instances when there is a Main activity and an EmbedContentViewActivity. There ...
7 years, 2 months ago (2013-10-15 17:12:05 UTC) #10
Xianzhu
On 2013/10/15 17:08:39, Sami wrote: > On 2013/10/15 17:01:34, Yaron wrote: > > Sami: how ...
7 years, 2 months ago (2013-10-15 17:18:21 UTC) #11
Yaron
Right. thanks! I understood about code-reuse but was confused on missing signals lgtm
7 years, 2 months ago (2013-10-15 17:18:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/26740005/29001
7 years, 2 months ago (2013-10-15 17:27:38 UTC) #13
Xianzhu
Sorry for the duplicated comments. When I submitted the first one it seemed lost so ...
7 years, 2 months ago (2013-10-15 17:29:36 UTC) #14
commit-bot: I haz the power
Failed to trigger a try job on android_dbg HTTP Error 400: Bad Request
7 years, 2 months ago (2013-10-15 23:35:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/26740005/61001
7 years, 2 months ago (2013-10-15 23:36:00 UTC) #16
commit-bot: I haz the power
7 years, 2 months ago (2013-10-16 02:41:21 UTC) #17
Message was sent while issue was closed.
Change committed as 228839

Powered by Google App Engine
This is Rietveld 408576698