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

Issue 313001: Implement the Extension History API, v 0.1.... (Closed)

Created:
11 years, 2 months ago by brg
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Erik does not do reviews, ben+cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement the Extension History API, v 0.1.The first version is a weak wrapper around the HistoryServices object in Chrome.BUG=22952 TEST=browser_tests.exe --gtest_filer=ExtensionApiTest.History Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30561

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 167

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 6

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 50

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 8

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1449 lines, -2 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_history_api.h View 9 10 11 12 13 14 15 1 chunk +149 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_history_api.cc View 9 10 11 12 13 14 15 1 chunk +366 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_history_api_constants.h View 9 10 11 12 13 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_history_api_constants.cc View 9 10 11 12 13 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_history_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 13 1 chunk +1 line, -0 lines 0 comments Download
chrome/common/chrome_switches.cc View 13 16 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +154 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 12 13 2 chunks +26 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/api_test/history/a.html View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/history/b.html View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/history/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/history/test.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/history/test.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +598 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
brg
Hello Erik, If you do not have the time or desire to code review, could ...
11 years, 2 months ago (2009-10-21 09:46:49 UTC) #1
brg
ExtensionHistoryEventRouter is complete, and the onVisited and onRemoved APIs are working.
11 years, 2 months ago (2009-10-21 10:42:56 UTC) #2
Erik does not do reviews
+brettw to review history API usage http://codereview.chromium.org/313001/diff/1009/1011 File chrome/browser/extensions/extension_history_module.cc (right): http://codereview.chromium.org/313001/diff/1009/1011#newcode34 Line 34: static void ...
11 years, 2 months ago (2009-10-21 17:25:39 UTC) #3
brettw
http://codereview.chromium.org/313001/diff/1009/1011 File chrome/browser/extensions/extension_history_module.cc (right): http://codereview.chromium.org/313001/diff/1009/1011#newcode150 Line 150: if (!service->BackendLoaded()) { I didn't totally understand the ...
11 years, 2 months ago (2009-10-21 22:14:47 UTC) #4
brg
This is a first set of responses to changes. I will respond with a list ...
11 years, 2 months ago (2009-10-22 02:13:34 UTC) #5
brg
Cleanup of auto-formatting failures and some missed issues. The next publish will be the file ...
11 years, 2 months ago (2009-10-22 06:53:37 UTC) #6
brg
The file names are now updated to reflect the current standard. Please take a second ...
11 years, 2 months ago (2009-10-22 08:43:55 UTC) #7
brettw
I don't have any more comments on history API usage.
11 years, 2 months ago (2009-10-22 16:53:02 UTC) #8
brg
Patch set 10 makes changes to test.js. The changes are +JS readability (semi-colons, comments, object ...
11 years, 2 months ago (2009-10-22 21:16:38 UTC) #9
brg
Updated to include aa as a reviewer since Erik is on vacation.
11 years, 2 months ago (2009-10-23 22:07:34 UTC) #10
Aaron Boodman
This is really nice work. http://codereview.chromium.org/313001/diff/18001/18016 File chrome/browser/extensions/extension_history_api.h (right): http://codereview.chromium.org/313001/diff/18001/18016#newcode21 Line 21: virtual ~ExtensionHistoryEventRouter() {} ...
11 years, 1 month ago (2009-10-28 07:06:00 UTC) #11
Aaron Boodman
http://codereview.chromium.org/313001/diff/18001/18013 File chrome/browser/extensions/extension_history_api.cc (right): http://codereview.chromium.org/313001/diff/18001/18013#newcode190 Line 190: MessageLoop::current()->PostTask( Why post a message to the current ...
11 years, 1 month ago (2009-10-28 08:10:08 UTC) #12
brg
Updated. The major change is that all tests are now event driven. Minor changes are ...
11 years, 1 month ago (2009-10-28 21:58:33 UTC) #13
brg
Moving chrome.history to chrome.experimental.history. The changes to make this happen are the replacement of history ...
11 years, 1 month ago (2009-10-29 10:53:49 UTC) #14
Aaron Boodman
Almost there. Few more things. http://codereview.chromium.org/313001/diff/18001/18013 File chrome/browser/extensions/extension_history_api.cc (right): http://codereview.chromium.org/313001/diff/18001/18013#newcode190 Line 190: MessageLoop::current()->PostTask( On 2009/10/28 ...
11 years, 1 month ago (2009-10-29 18:17:48 UTC) #15
brg
Changed. Update 13 has the requested changes. Update 14 is a single type in the ...
11 years, 1 month ago (2009-10-29 23:30:20 UTC) #16
Aaron Boodman
On 2009/10/29 23:30:20, brg wrote: > Changed. I'm not seeing the change to combine AsyncHistoryFunction ...
11 years, 1 month ago (2009-10-30 00:23:01 UTC) #17
Aaron Boodman
Also, one last thing I just remembered. Can you update the docs? You can do ...
11 years, 1 month ago (2009-10-30 00:25:16 UTC) #18
brg
As discuss, AsyncHistoryFunction has been renamed to HistoryFunctionWithCallback. Documentation is blocked by a bug in ...
11 years, 1 month ago (2009-10-30 01:42:16 UTC) #19
Aaron Boodman
11 years, 1 month ago (2009-10-30 01:53:12 UTC) #20
LGTM

Thanks for the contribution.

Powered by Google App Engine
This is Rietveld 408576698