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

Issue 7601013: Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. (Closed)

Created:
9 years, 4 months ago by James Hawkins
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Avi (use Gerrit), Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. BUG=none TEST=RegisterIntentHandlerInfoBarDelegateTest.Accept R=groby@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96449

Patch Set 1 #

Patch Set 2 : Add files. #

Patch Set 3 : Cleanups and fixes. #

Total comments: 6

Patch Set 4 : Review fixes and more\! #

Total comments: 8

Patch Set 5 : Test fix. #

Total comments: 6

Patch Set 6 : erg fixes. #

Patch Set 7 : One more. #

Patch Set 8 : Missing files. #

Total comments: 6

Patch Set 9 : Nit fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -99 lines) Patch
M chrome/browser/intents/register_intent_handler_infobar_delegate.h View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/intents/register_intent_handler_infobar_delegate.cc View 1 2 3 4 5 2 chunks +20 lines, -5 lines 0 comments Download
A chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc View 1 2 3 4 5 1 chunk +84 lines, -0 lines 0 comments Download
M chrome/browser/intents/web_intent_data.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/intents/web_intent_data.cc View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/intents/web_intents_registry.h View 1 2 3 4 5 3 chunks +15 lines, -6 lines 0 comments Download
A chrome/browser/intents/web_intents_registry_factory.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/intents/web_intents_registry_factory.cc View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/browser/intents/web_intents_registry_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_keyed_service_factory.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_service_factory.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/webdata/autofill_table.h View 1 2 3 5 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/webdata/autofill_table.cc View 1 2 3 12 chunks +18 lines, -19 lines 0 comments Download
M chrome/browser/webdata/token_service_table.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 1 2 3 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/webdata/web_database_table.h View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/webdata/web_database_table.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_intents_table.h View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/webdata/web_intents_table.cc View 1 2 3 3 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/webdata/web_intents_table_unittest.cc View 1 2 3 4 chunks +18 lines, -17 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
James Hawkins
9 years, 4 months ago (2011-08-09 00:40:09 UTC) #1
James Hawkins
Prob good for review now.
9 years, 4 months ago (2011-08-09 01:00:44 UTC) #2
groby-ooo-7-16
On 2011/08/09 01:00:44, James Hawkins wrote: > Prob good for review now. LGTM (with a ...
9 years, 4 months ago (2011-08-09 01:44:50 UTC) #3
James Hawkins
On 2011/08/09 01:44:50, groby wrote: > On 2011/08/09 01:00:44, James Hawkins wrote: > > Prob ...
9 years, 4 months ago (2011-08-09 01:49:16 UTC) #4
groby-ooo-7-16
And here are the nits. Sorry. http://codereview.chromium.org/7601013/diff/3016/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc File chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc (right): http://codereview.chromium.org/7601013/diff/3016/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc#newcode75 chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc:75: } Don't we ...
9 years, 4 months ago (2011-08-09 01:58:15 UTC) #5
James Hawkins
http://codereview.chromium.org/7601013/diff/3016/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc File chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc (right): http://codereview.chromium.org/7601013/diff/3016/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc#newcode75 chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc:75: } On 2011/08/09 01:58:15, groby wrote: > Don't we ...
9 years, 4 months ago (2011-08-09 02:26:52 UTC) #6
James Hawkins
ping
9 years, 4 months ago (2011-08-09 17:47:48 UTC) #7
groby-ooo-7-16
LGTM (w/ a few nits) http://codereview.chromium.org/7601013/diff/2005/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc File chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc (right): http://codereview.chromium.org/7601013/diff/2005/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc#newcode48 chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc:48: web_intents_registry_ = NULL; Nit: ...
9 years, 4 months ago (2011-08-09 18:17:33 UTC) #8
James Hawkins
http://codereview.chromium.org/7601013/diff/2005/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc File chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc (right): http://codereview.chromium.org/7601013/diff/2005/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc#newcode48 chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc:48: web_intents_registry_ = NULL; On 2011/08/09 18:17:33, groby wrote: > ...
9 years, 4 months ago (2011-08-09 18:39:03 UTC) #9
James Hawkins
+erg for profiles/
9 years, 4 months ago (2011-08-09 21:46:46 UTC) #10
Elliot Glaysher
http://codereview.chromium.org/7601013/diff/12001/chrome/browser/intents/web_intent_data.h File chrome/browser/intents/web_intent_data.h (right): http://codereview.chromium.org/7601013/diff/12001/chrome/browser/intents/web_intent_data.h#newcode19 chrome/browser/intents/web_intent_data.h:19: WebIntentData(); add dtor or clang will complain. http://codereview.chromium.org/7601013/diff/12001/chrome/browser/intents/web_intents_registry.h File ...
9 years, 4 months ago (2011-08-09 22:09:18 UTC) #11
James Hawkins
http://codereview.chromium.org/7601013/diff/12001/chrome/browser/intents/web_intent_data.h File chrome/browser/intents/web_intent_data.h (right): http://codereview.chromium.org/7601013/diff/12001/chrome/browser/intents/web_intent_data.h#newcode19 chrome/browser/intents/web_intent_data.h:19: WebIntentData(); On 2011/08/09 22:09:18, Elliot Glaysher wrote: > add ...
9 years, 4 months ago (2011-08-10 00:58:38 UTC) #12
Elliot Glaysher
LGTM with nits: http://codereview.chromium.org/7601013/diff/12029/chrome/browser/intents/web_intents_registry_factory.cc File chrome/browser/intents/web_intents_registry_factory.cc (right): http://codereview.chromium.org/7601013/diff/12029/chrome/browser/intents/web_intents_registry_factory.cc#newcode17 chrome/browser/intents/web_intents_registry_factory.cc:17: : ProfileKeyedServiceFactory(ProfileDependencyManager::GetInstance()) { nit: Please add ...
9 years, 4 months ago (2011-08-10 17:47:54 UTC) #13
Elliot Glaysher
Crap, one more thing that I forgot: Please add your new factory to the list ...
9 years, 4 months ago (2011-08-10 17:49:37 UTC) #14
James Hawkins
9 years, 4 months ago (2011-08-11 20:49:07 UTC) #15
http://codereview.chromium.org/7601013/diff/12029/chrome/browser/intents/web_...
File chrome/browser/intents/web_intents_registry_factory.cc (right):

http://codereview.chromium.org/7601013/diff/12029/chrome/browser/intents/web_...
chrome/browser/intents/web_intents_registry_factory.cc:17: :
ProfileKeyedServiceFactory(ProfileDependencyManager::GetInstance()) {
On 2011/08/10 17:47:54, Elliot Glaysher wrote:
> nit: Please add the following comment to remind me to come in here when
> WebDataService gets PKSFized:
> 
>   // TODO(erg): For Shutdown() order, we need to:
>   //     DependsOn(WebDataServiceFactory::GetInstance());

Done.

http://codereview.chromium.org/7601013/diff/12029/chrome/browser/intents/web_...
File chrome/browser/intents/web_intents_registry_factory.h (right):

http://codereview.chromium.org/7601013/diff/12029/chrome/browser/intents/web_...
chrome/browser/intents/web_intents_registry_factory.h:24: //
On 2011/08/10 17:47:54, Elliot Glaysher wrote:
> nit: remove floating '//'

Added the correct comment.

http://codereview.chromium.org/7601013/diff/12029/chrome/browser/themes/theme...
File chrome/browser/themes/theme_service_factory.h (right):

http://codereview.chromium.org/7601013/diff/12029/chrome/browser/themes/theme...
chrome/browser/themes/theme_service_factory.h:8: #include "base/logging.h"
On 2011/08/10 17:47:54, Elliot Glaysher wrote:
> Do you mean base/basictypes.h? I don't see log methods used.

Oh damn, yes. Thanks.

Powered by Google App Engine
This is Rietveld 408576698