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

Issue 561743003: Remove static PACKAGE_NAME variable and refactor getRawAcceptableDirectories method. (Closed)

Created:
6 years, 3 months ago by deepak.db
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove static PACKAGE_NAME variable and refactor getRawAcceptableDirectories method. The use of PACKAGE_NAME variable is unnecessary which can be avoided, hence refactoring using passing context down till getRawAcceptableDirectories() and using getPackageName() method directly. BUG=None. Committed: https://crrev.com/11c47071c45eb89f78dcd95a8c00f83feeaceafd Cr-Commit-Position: refs/heads/master@{#294826}

Patch Set 1 #

Patch Set 2 : Corrected Commit message #

Patch Set 3 : changes incorporated #

Patch Set 4 : Fixing test case failure for MediaResourceGetterTest class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java View 1 2 6 chunks +5 lines, -9 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/MediaResourceGetterTest.java View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
deepak.db
Please Review, Thanks!
6 years, 3 months ago (2014-09-11 06:03:14 UTC) #2
deepak.db
Please Review
6 years, 3 months ago (2014-09-11 06:46:04 UTC) #4
Andrew Hayden (chromium.org)
On 2014/09/11 06:46:04, deepak.db wrote: > Please Review Some background: The original intention of "getRawAcceptableDirectories" ...
6 years, 3 months ago (2014-09-11 09:43:34 UTC) #5
deepak.db
Thanks Andrew for review, I have incorporated the changes as per suggestions PTAL! On 2014/09/11 ...
6 years, 3 months ago (2014-09-11 11:25:29 UTC) #6
Andrew Hayden (chromium.org)
LGTM and thank you for the cleanup.
6 years, 3 months ago (2014-09-11 11:28:16 UTC) #7
deepak.db
Thanks Andrew. +tedchoc Please Review, need another LGTM to land this patch.
6 years, 3 months ago (2014-09-12 13:28:28 UTC) #9
Ted C
lgtm
6 years, 3 months ago (2014-09-12 15:35:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561743003/40001
6 years, 3 months ago (2014-09-13 09:36:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/8540)
6 years, 3 months ago (2014-09-13 11:30:49 UTC) #14
Andrew Hayden (chromium.org)
On 2014/09/13 11:30:49, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-15 08:17:55 UTC) #15
deepak.db
Adding implementation for getPackageName in MediaResourceGetterTest class On 2014/09/15 08:17:55, Andrew Hayden wrote: > On ...
6 years, 3 months ago (2014-09-15 14:02:23 UTC) #16
Andrew Hayden (chromium.org)
still LGTM
6 years, 3 months ago (2014-09-15 14:09:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561743003/60001
6 years, 3 months ago (2014-09-15 14:12:47 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 97c2116c9ea189370514d46ced5ab331f49686a6
6 years, 3 months ago (2014-09-15 15:15:30 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 15:20:03 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/11c47071c45eb89f78dcd95a8c00f83feeaceafd
Cr-Commit-Position: refs/heads/master@{#294826}

Powered by Google App Engine
This is Rietveld 408576698