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

Issue 10174001: Add an API for hosted apps to check their install and running states. (Closed)

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

Description

Add an API for hosted apps to check their install and running states. BUG=107216 TEST=ChromeAppAPITest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133722

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -4 lines) Patch
M chrome/browser/extensions/chrome_app_api_browsertest.cc View 1 2 3 4 5 3 chunks +125 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_tab_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tab_helper.cc View 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/app.json View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_messages.h View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/app_bindings.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/app_bindings.cc View 1 2 3 4 3 chunks +72 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/app_custom_bindings.js View 3 chunks +15 lines, -1 line 0 comments Download
A chrome/test/data/extensions/get_app_details_for_frame_reversed.html View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jstritar
http://codereview.chromium.org/10174001/diff/2001/chrome/browser/extensions/chrome_app_api_browsertest.cc File chrome/browser/extensions/chrome_app_api_browsertest.cc (right): http://codereview.chromium.org/10174001/diff/2001/chrome/browser/extensions/chrome_app_api_browsertest.cc#newcode281 chrome/browser/extensions/chrome_app_api_browsertest.cc:281: EXPECT_EQ("cannot_run", RunningState(L"//html/iframe[1]")); This part returns "running" .... what's supposed ...
8 years, 8 months ago (2012-04-22 17:57:31 UTC) #1
miket_OOO
LGTM but see comments, please. http://codereview.chromium.org/10174001/diff/2001/chrome/common/extensions/url_pattern.cc File chrome/common/extensions/url_pattern.cc (right): http://codereview.chromium.org/10174001/diff/2001/chrome/common/extensions/url_pattern.cc#newcode383 chrome/common/extensions/url_pattern.cc:383: MatchPattern(test, path_escaped_ + '/'); ...
8 years, 8 months ago (2012-04-23 22:11:16 UTC) #2
jstritar
Can you take another look? I updated AppBindings::GetRunningState to work correctly with iframes, and got ...
8 years, 8 months ago (2012-04-23 23:46:12 UTC) #3
miket_OOO
http://codereview.chromium.org/10174001/diff/12001/chrome/renderer/extensions/app_bindings.cc File chrome/renderer/extensions/app_bindings.cc (right): http://codereview.chromium.org/10174001/diff/12001/chrome/renderer/extensions/app_bindings.cc#newcode231 chrome/renderer/extensions/app_bindings.cc:231: return v8::String::New(state); Just for clarity, can you move state's ...
8 years, 8 months ago (2012-04-24 00:04:48 UTC) #4
jstritar
http://codereview.chromium.org/10174001/diff/12001/chrome/renderer/extensions/app_bindings.cc File chrome/renderer/extensions/app_bindings.cc (right): http://codereview.chromium.org/10174001/diff/12001/chrome/renderer/extensions/app_bindings.cc#newcode231 chrome/renderer/extensions/app_bindings.cc:231: return v8::String::New(state); On 2012/04/24 00:04:48, miket wrote: > Just ...
8 years, 8 months ago (2012-04-24 00:11:59 UTC) #5
miket_OOO
Still LGTM.
8 years, 8 months ago (2012-04-24 00:19:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/10174001/21003
8 years, 8 months ago (2012-04-24 00:55:34 UTC) #7
commit-bot: I haz the power
Try job failure for 10174001-21003 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-24 01:44:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/10174001/12005
8 years, 8 months ago (2012-04-24 16:16:15 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 17:53:51 UTC) #10
Change committed as 133722

Powered by Google App Engine
This is Rietveld 408576698