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

Issue 11428116: First few API implementation of AppsDebuggerPrivate. (Closed)

Created:
8 years ago by Gaurav
Modified:
8 years ago
CC:
chromium-reviews, Aaron Boodman, arv (Not doing code reviews), chromium-apps-reviews_chromium.org, USE_CHROMIUM_ACCT_INSTEAD
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

First few API implementation of AppsDebuggerPrivate. This CL adds the skeleton for AppsDebuggerPrivate APIs with Implementation of getItemInfo, Inspect and AutoUpdate. Will be adding apitest to the CL. BUG=149036 TBR=estrade@chromium.org TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173612

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : Antony's comments #

Patch Set 4 : Added APItest #

Patch Set 5 : renamed appsDebuggerPrivate API -> developerPrivate #

Patch Set 6 : Adding test files #

Total comments: 52

Patch Set 7 : Addressed Mike's comments #

Total comments: 8

Patch Set 8 : Addressed comments #

Patch Set 9 : Removing the binary icon files. That has to be uploaded separately. #

Patch Set 10 : fixed permission unit test #

Patch Set 11 : fixing build on windows #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+826 lines, -1 line) Patch
A chrome/browser/extensions/api/developer_private/developer_private_api.h View 1 2 3 4 5 6 7 1 chunk +128 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +296 lines, -0 lines 1 comment Download
A chrome/browser/extensions/api/developer_private/developer_private_api_factory.h View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/developer_private/developer_private_api_factory.cc View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/developer_private/developer_private_apitest.cc View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/browser/resources/apps_debugger/manifest.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/developer_private.idl View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/manifest.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/hosted_app/manifest.json View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/packaged_app/main.html View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/packaged_app/main.js View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/packaged_app/manifest.json View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
chrome/test/data/extensions/api_test/developer/simple_extension/manifest.json View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/simple_extension/pages/options.html View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/test/basics.html View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
chrome/test/data/extensions/api_test/developer/test/basics.js View 1 2 3 4 5 6 7 8 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/developer/test/common.js View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
chrome/test/data/extensions/api_test/developer/test/manifest.json View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Gaurav
@miket Working on the apitest which I will add to this CL. Will publish for ...
8 years ago (2012-11-30 20:31:55 UTC) #1
asargent_no_longer_on_chrome
Overall naming question: is this API only going to be used for debugging apps? Or ...
8 years ago (2012-11-30 22:56:02 UTC) #2
Gaurav
@Antony, I think the API has a broader future scope. Any name suggestions? How about ...
8 years ago (2012-11-30 23:32:42 UTC) #3
asargent_no_longer_on_chrome
On 2012/11/30 23:32:42, Gaurav wrote: > @Antony, I think the API has a broader future ...
8 years ago (2012-12-03 23:10:07 UTC) #4
Gaurav
chrome.developerPrivate sounds good (As they may not be UI specific). Will rename and upadate. On ...
8 years ago (2012-12-05 00:03:02 UTC) #5
Gaurav
8 years ago (2012-12-05 16:36:10 UTC) #6
miket_OOO
https://chromiumcodereview.appspot.com/11428116/diff/15001/chrome/browser/extensions/api/developer_private/developer_private_api.cc File chrome/browser/extensions/api/developer_private/developer_private_api.cc (right): https://chromiumcodereview.appspot.com/11428116/diff/15001/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode36 chrome/browser/extensions/api/developer_private/developer_private_api.cc:36: } // namespace always two spaces before // (please ...
8 years ago (2012-12-06 19:31:15 UTC) #7
Gaurav
Thanks Mike. Inline response to the comments. https://chromiumcodereview.appspot.com/11428116/diff/15001/chrome/browser/extensions/api/developer_private/developer_private_api.cc File chrome/browser/extensions/api/developer_private/developer_private_api.cc (right): https://chromiumcodereview.appspot.com/11428116/diff/15001/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode75 chrome/browser/extensions/api/developer_private/developer_private_api.cc:75: } On ...
8 years ago (2012-12-12 02:23:38 UTC) #8
miket_OOO
lgtm https://codereview.chromium.org/11428116/diff/24001/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): https://codereview.chromium.org/11428116/diff/24001/chrome/browser/extensions/api/developer_private/developer_private_api.h#newcode20 chrome/browser/extensions/api/developer_private/developer_private_api.h:20: Hmmmm. I take back part of my earlier ...
8 years ago (2012-12-14 19:07:25 UTC) #9
Gaurav
Thanks Mike. On 2012/12/14 19:07:25, miket wrote: > lgtm > > https://codereview.chromium.org/11428116/diff/24001/chrome/browser/extensions/api/developer_private/developer_private_api.h > File chrome/browser/extensions/api/developer_private/developer_private_api.h ...
8 years ago (2012-12-15 01:36:51 UTC) #10
Gaurav
https://chromiumcodereview.appspot.com/11428116/diff/24001/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): https://chromiumcodereview.appspot.com/11428116/diff/24001/chrome/browser/extensions/api/developer_private/developer_private_api.h#newcode20 chrome/browser/extensions/api/developer_private/developer_private_api.h:20: On 2012/12/14 19:07:25, miket wrote: > Hmmmm. I take ...
8 years ago (2012-12-15 01:37:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/11428116/36001
8 years ago (2012-12-15 01:38:54 UTC) #12
commit-bot: I haz the power
Can't process patch for file chrome/test/data/extensions/api_test/developer/simple_extension/icon_128.png. Binary file support is temporarilly disabled due to a ...
8 years ago (2012-12-15 01:38:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/11428116/33032
8 years ago (2012-12-15 01:58:05 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests
8 years ago (2012-12-15 02:57:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/11428116/43001
8 years ago (2012-12-17 21:28:01 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-17 22:54:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/11428116/54001
8 years ago (2012-12-17 22:54:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/11428116/54001
8 years ago (2012-12-18 00:59:23 UTC) #19
commit-bot: I haz the power
Change committed as 173612
8 years ago (2012-12-18 01:34:38 UTC) #20
Gaurav
8 years ago (2012-12-18 04:39:59 UTC) #21
Message was sent while issue was closed.
New CL fixing the problem here https://codereview.chromium.org/11620011/

https://chromiumcodereview.appspot.com/11428116/diff/54001/chrome/browser/ext...
File chrome/browser/extensions/api/developer_private/developer_private_api.cc
(right):

https://chromiumcodereview.appspot.com/11428116/diff/54001/chrome/browser/ext...
chrome/browser/extensions/api/developer_private/developer_private_api.cc:190:
source_profile = content::Source<Profile>(source).ptr();
This caused the clang build to break, as source_profile is not yet used.
Updating in a new CL 11620011

Powered by Google App Engine
This is Rietveld 408576698