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

Issue 299753011: Move allocate instance id to chrome/. (Closed)

Created:
6 years, 7 months ago by lazyboy
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move allocate instance id to chrome/. BUG=364141 Test=No visible change. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275674

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : update CL, tests related to newwindow and partition passes #

Patch Set 4 : step 2 #

Patch Set 5 : refactor one method, #

Total comments: 20

Patch Set 6 : address comments #

Total comments: 18

Patch Set 7 : Address comments from fady #

Total comments: 18

Patch Set 8 : sync and address some comments, printfs are not removed #

Patch Set 9 : remove debug logs #

Total comments: 29

Patch Set 10 : more comments addressed #

Total comments: 1

Patch Set 11 : remove commented out code #

Patch Set 12 : Fix bad merge + add OWNERS for guestview/* #

Total comments: 2

Patch Set 13 : rename guestview->guestViewInternal, remove one unused function in BrowserPlugin #

Patch Set 14 : rename guestview->guestViewInternal, remove one unused function in BrowserPlugin #

Patch Set 15 : sync + git cl format + add missing files #

Patch Set 16 : update histograms.xml #

Patch Set 17 : sync @tott #

Patch Set 18 : fix one spelling #

Patch Set 19 : Fix content_browsertests: Remove incorrect tests from BPTest and modify useful ones #

Patch Set 20 : HasPermission function moved #

Patch Set 21 : HasPermission function moved #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -772 lines) Patch
M chrome/browser/apps/web_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +7 lines, -0 lines 0 comments Download
A + chrome/browser/extensions/api/guest_view/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/extensions/api/guest_view/guest_view_internal_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/webview/webview_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/webview/webview_api.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/guest_view_manager.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/guest_view/guest_view_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_constants.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_constants.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +54 lines, -7 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/guest_view_internal.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/webview.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/web_view.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 15 chunks +194 lines, -22 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +26 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +13 lines, -27 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +7 lines, -6 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +14 lines, -43 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_constants.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_constants.cc View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +2 lines, -35 lines 0 comments Download
M content/public/browser/browser_plugin_guest_delegate.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download
M content/public/browser/browser_plugin_guest_manager.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/browser/browser_plugin_guest_manager.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +1 line, -28 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 16 chunks +2 lines, -199 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 1 2 3 4 5 3 chunks +0 lines, -105 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +13 lines, -207 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +3 lines, -35 lines 0 comments Download
M content/renderer/browser_plugin/mock_browser_plugin_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +10 lines, -2 lines 0 comments Download
M content/renderer/browser_plugin/mock_browser_plugin_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +6 lines, -10 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
lazyboy
Hi Fady, can you take a look at the patch at its current state? There ...
6 years, 6 months ago (2014-05-27 02:26:53 UTC) #1
Fady Samuel
A few initial comments. I'm really excited about this change! A lot of stuff is ...
6 years, 6 months ago (2014-05-27 14:19:06 UTC) #2
lazyboy
Addressed comment in patchset #6 Once you think this looks reasonable, I'll remove all debug ...
6 years, 6 months ago (2014-05-27 20:42:59 UTC) #3
Fady Samuel
Some more comments! I may have more as we iterate. https://codereview.chromium.org/299753011/diff/80001/chrome/browser/guest_view/web_view/web_view_guest.cc File chrome/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/299753011/diff/80001/chrome/browser/guest_view/web_view/web_view_guest.cc#newcode1398 ...
6 years, 6 months ago (2014-05-29 20:35:22 UTC) #4
lazyboy
Comments addressed in patchset #7 https://codereview.chromium.org/299753011/diff/80001/chrome/browser/guest_view/web_view/web_view_guest.cc File chrome/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/299753011/diff/80001/chrome/browser/guest_view/web_view/web_view_guest.cc#newcode1398 chrome/browser/guest_view/web_view/web_view_guest.cc:1398: request_info.Set(guestview::kStoragePartitionId, On 2014/05/29 20:35:23, ...
6 years, 6 months ago (2014-05-30 05:48:20 UTC) #5
lazyboy
Ping.
6 years, 6 months ago (2014-06-03 16:19:11 UTC) #6
lazyboy
Ping.
6 years, 6 months ago (2014-06-03 16:19:11 UTC) #7
Fady Samuel
https://codereview.chromium.org/299753011/diff/90001/chrome/browser/guest_view/guest_view_manager.cc File chrome/browser/guest_view/guest_view_manager.cc (right): https://codereview.chromium.org/299753011/diff/90001/chrome/browser/guest_view/guest_view_manager.cc#newcode28 chrome/browser/guest_view/guest_view_manager.cc:28: void ParsePartitionParam(const std::string& partition_str, This seems like a <webview> ...
6 years, 6 months ago (2014-06-03 16:36:34 UTC) #8
lazyboy
Removed all the debug logs. Patchset #9 https://chromiumcodereview.appspot.com/299753011/diff/90001/chrome/browser/guest_view/guest_view_manager.cc File chrome/browser/guest_view/guest_view_manager.cc (right): https://chromiumcodereview.appspot.com/299753011/diff/90001/chrome/browser/guest_view/guest_view_manager.cc#newcode28 chrome/browser/guest_view/guest_view_manager.cc:28: void ParsePartitionParam(const ...
6 years, 6 months ago (2014-06-03 19:17:58 UTC) #9
Fady Samuel
Another round of comments. I think we're getting a lot closer :D https://codereview.chromium.org/299753011/diff/130001/chrome/browser/extensions/api/guestview/guestview_api.cc File chrome/browser/extensions/api/guestview/guestview_api.cc ...
6 years, 6 months ago (2014-06-03 19:40:39 UTC) #10
lazyboy
Addressed in patchset #10 https://codereview.chromium.org/299753011/diff/130001/chrome/browser/extensions/api/guestview/guestview_api.cc File chrome/browser/extensions/api/guestview/guestview_api.cc (right): https://codereview.chromium.org/299753011/diff/130001/chrome/browser/extensions/api/guestview/guestview_api.cc#newcode19 chrome/browser/extensions/api/guestview/guestview_api.cc:19: EXTENSION_FUNCTION_VALIDATE(!args_->GetSize()); On 2014/06/03 19:40:40, Fady ...
6 years, 6 months ago (2014-06-03 22:30:11 UTC) #11
Fady Samuel
lgtm with nit. https://codereview.chromium.org/299753011/diff/150001/chrome/renderer/resources/extensions/web_view.js File chrome/renderer/resources/extensions/web_view.js (right): https://codereview.chromium.org/299753011/diff/150001/chrome/renderer/resources/extensions/web_view.js#newcode239 chrome/renderer/resources/extensions/web_view.js:239: //this.allocateInstanceId(); Remove this?
6 years, 6 months ago (2014-06-04 04:54:19 UTC) #12
lazyboy
+kalman for review. This CL is adding two extension functions for <webview> webview.navigate() guestview.allocateInstanceId() Specific ...
6 years, 6 months ago (2014-06-04 20:29:55 UTC) #13
not at google - send to devlin
lg but I'd like all internal APIs to be explicitly named as such to avoid ...
6 years, 6 months ago (2014-06-04 20:56:47 UTC) #14
lazyboy
Patchset #14 https://chromiumcodereview.appspot.com/299753011/diff/190001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://chromiumcodereview.appspot.com/299753011/diff/190001/chrome/common/extensions/api/_api_features.json#newcode440 chrome/common/extensions/api/_api_features.json:440: "guestview": { On 2014/06/04 20:56:48, kalman wrote: ...
6 years, 6 months ago (2014-06-05 02:19:52 UTC) #15
not at google - send to devlin
thanks, lgtm. I don't think renaming the webview API to webViewInternal should be done in ...
6 years, 6 months ago (2014-06-05 16:51:57 UTC) #16
lazyboy
+John for reviewing: M content/browser/web_contents/web_contents_impl.cc M content/public/browser/browser_plugin_guest_delegate.h M content/public/browser/browser_plugin_guest_manager.h M content/public/browser/browser_plugin_guest_manager.cc
6 years, 6 months ago (2014-06-05 16:55:07 UTC) #17
lazyboy
+John for reviewing: M content/browser/web_contents/web_contents_impl.cc M content/public/browser/browser_plugin_guest_delegate.h M content/public/browser/browser_plugin_guest_manager.h M content/public/browser/browser_plugin_guest_manager.cc
6 years, 6 months ago (2014-06-05 16:55:28 UTC) #18
jam
lgtm
6 years, 6 months ago (2014-06-05 20:47:49 UTC) #19
lazyboy
+Nasko for IPC changes: content/common/browser_plugin/browser_plugin_messages.h +Alexei for histograms: extension_function_histogram_value.h and histograms.xml
6 years, 6 months ago (2014-06-05 20:58:45 UTC) #20
Alexei Svitkine (slow)
lgtm
6 years, 6 months ago (2014-06-05 21:01:29 UTC) #21
nasko
Removing code almost always LGTM!
6 years, 6 months ago (2014-06-06 16:19:46 UTC) #22
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 6 months ago (2014-06-06 22:56:39 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/299753011/330001
6 years, 6 months ago (2014-06-06 22:57:15 UTC) #24
lazyboy
The CQ bit was unchecked by lazyboy@chromium.org
6 years, 6 months ago (2014-06-07 06:29:02 UTC) #25
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 6 months ago (2014-06-07 06:30:01 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/299753011/360001
6 years, 6 months ago (2014-06-07 06:31:46 UTC) #27
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 09:54:38 UTC) #28
Message was sent while issue was closed.
Change committed as 275674

Powered by Google App Engine
This is Rietveld 408576698