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

Issue 9839105: Expand usage of platform-apps flag and permission features. (Closed)

Created:
8 years, 9 months ago by miket_OOO
Modified:
8 years, 9 months ago
Reviewers:
jstritar
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

Expand usage of platform-apps flag and permission features. Reapplication of http://codereview.chromium.org/9837045/. BUG=119758 TEST=added TBR=asargent@chromium.org,jstritar@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128838

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -35 lines) Patch
M chrome/browser/extensions/api/dns/dns_apitest.cc View 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/serial/serial_apitest.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_apitest.cc View 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.h View 1 chunk +17 lines, -0 lines 3 comments Download
M chrome/browser/extensions/extension_apitest.cc View 2 chunks +60 lines, -0 lines 2 comments Download
M chrome/browser/extensions/extension_browsertest.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 3 chunks +15 lines, -0 lines 2 comments Download
M chrome/common/extensions/api/_permission_features.json View 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_manifest_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
commit-bot: I haz the power
No reviewers yet.
8 years, 9 months ago (2012-03-25 20:21:33 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miket@chromium.org/9839105/1
8 years, 9 months ago (2012-03-25 20:22:46 UTC) #2
commit-bot: I haz the power
Change committed as 128838
8 years, 9 months ago (2012-03-25 22:40:51 UTC) #3
jstritar
LGTM http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/extension_apitest.h File chrome/browser/extensions/extension_apitest.h (right): http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/extension_apitest.h#newcode182 chrome/browser/extensions/extension_apitest.h:182: void VerifyPermissions(const FilePath& extension_path); Do these VerifyPermissions tests ...
8 years, 9 months ago (2012-03-26 13:41:51 UTC) #4
miket_OOO
http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/extension_apitest.h File chrome/browser/extensions/extension_apitest.h (right): http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/extension_apitest.h#newcode182 chrome/browser/extensions/extension_apitest.h:182: void VerifyPermissions(const FilePath& extension_path); On 2012/03/26 13:41:51, jstritar wrote: ...
8 years, 9 months ago (2012-03-26 15:19:57 UTC) #5
jstritar
http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/extension_apitest.cc File chrome/browser/extensions/extension_apitest.cc (right): http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/extension_apitest.cc#newcode316 chrome/browser/extensions/extension_apitest.cc:316: *CommandLine::ForCurrentProcess() = previous_command_line_; Think this is okay to do? ...
8 years, 9 months ago (2012-03-27 15:16:09 UTC) #6
miket_OOO
Jon, thanks for your comments. As discussed in person, I'm scaling back the extent of ...
8 years, 9 months ago (2012-03-28 16:53:41 UTC) #7
miket_OOO
8 years, 9 months ago (2012-03-28 17:28:47 UTC) #8
http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/exten...
File chrome/browser/extensions/extension_browsertest.cc (right):

http://codereview.chromium.org/9839105/diff/1/chrome/browser/extensions/exten...
chrome/browser/extensions/extension_browsertest.cc:430: int before =
extension_load_errors_observed_;
On 2012/03/27 15:16:09, jstritar wrote:
> Is there a specific reason you need to count the errors here?

I'm following the idiom established in the other WaitFor[...] methods, but it
appears to be so that we can confirm that the reason RegisterAndWait() exited
was that it received the expected notification (versus a timeout, for example).

Powered by Google App Engine
This is Rietveld 408576698