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

Issue 9104018: Modify schema to include defaulting information. (Closed)

Created:
8 years, 10 months ago by Greg Billock
Modified:
8 years, 10 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move to separate table. #

Patch Set 3 : Add accessors, tests. #

Total comments: 26

Patch Set 4 : Strip all matching logic (going in registry) #

Patch Set 5 : Fix forward decl. #

Total comments: 11

Patch Set 6 : Add remove method, test. Fix lint, comments. #

Total comments: 1

Patch Set 7 : Fix url prefix to pattern. Add GetAll method. #

Patch Set 8 : Take out extension_url #

Patch Set 9 : Split off .cc file for win/mac #

Patch Set 10 : Add explicit destructor for mac. #

Patch Set 11 : Add missing destructor decl. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -13 lines) Patch
A chrome/browser/intents/default_web_intent_service.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/intents/default_web_intent_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_intents_table.h View 1 2 3 4 5 6 3 chunks +39 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_intents_table.cc View 1 2 3 4 5 6 7 3 chunks +115 lines, -12 lines 0 comments Download
M chrome/browser/webdata/web_intents_table_unittest.cc View 1 2 3 4 5 6 7 2 chunks +52 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Greg Billock
8 years, 10 months ago (2012-01-30 20:47:24 UTC) #1
James Hawkins
https://chromiumcodereview.appspot.com/9104018/diff/1/chrome/browser/webdata/web_intents_table.cc File chrome/browser/webdata/web_intents_table.cc (right): https://chromiumcodereview.appspot.com/9104018/diff/1/chrome/browser/webdata/web_intents_table.cc#newcode60 chrome/browser/webdata/web_intents_table.cc:60: "default_action VARCHAR," These don't belong in the web_intents table. ...
8 years, 10 months ago (2012-01-30 20:50:08 UTC) #2
Greg Billock
Here's a proposal for how to store defaulting information. Alternatives I considered: 1. Storing defaults ...
8 years, 10 months ago (2012-01-30 20:53:42 UTC) #3
James Hawkins
On 2012/01/30 20:53:42, Greg Billock wrote: > Here's a proposal for how to store defaulting ...
8 years, 10 months ago (2012-01-30 20:58:37 UTC) #4
groby-ooo-7-16
I think I disagree... We want defaults on a per type level, which is not ...
8 years, 10 months ago (2012-01-30 21:19:05 UTC) #5
Greg Billock
The schema now registers a row for each action/type, right? Or are action/type multi-valued? My ...
8 years, 10 months ago (2012-01-30 22:03:44 UTC) #6
groby-ooo-7-16
> The schema now registers a row for each action/type, right? Yes for explicit types. ...
8 years, 10 months ago (2012-01-30 22:16:02 UTC) #7
Greg Billock
On Mon, Jan 30, 2012 at 2:15 PM, Rachel Blum <groby@chromium.org> wrote: > >> >> ...
8 years, 10 months ago (2012-01-30 22:31:34 UTC) #8
Greg Billock
OK, this change is ready for a look. Added accessors and tests. The theory of ...
8 years, 10 months ago (2012-02-04 00:27:50 UTC) #9
James Hawkins
http://codereview.chromium.org/9104018/diff/9001/chrome/browser/intents/default_intent_service.h File chrome/browser/intents/default_intent_service.h (right): http://codereview.chromium.org/9104018/diff/9001/chrome/browser/intents/default_intent_service.h#newcode8 chrome/browser/intents/default_intent_service.h:8: #include <string> nit: Blank line after this. http://codereview.chromium.org/9104018/diff/9001/chrome/browser/intents/default_intent_service.h#newcode11 chrome/browser/intents/default_intent_service.h:11: ...
8 years, 10 months ago (2012-02-05 05:21:51 UTC) #10
groby-ooo-7-16
http://codereview.chromium.org/9104018/diff/9001/chrome/browser/webdata/web_intents_table.cc File chrome/browser/webdata/web_intents_table.cc (right): http://codereview.chromium.org/9104018/diff/9001/chrome/browser/webdata/web_intents_table.cc#newcode177 chrome/browser/webdata/web_intents_table.cc:177: // TODO(gbillock): put in MIME parameter matching here. We ...
8 years, 10 months ago (2012-02-06 18:34:53 UTC) #11
Greg Billock
http://codereview.chromium.org/9104018/diff/9001/chrome/browser/intents/default_intent_service.h File chrome/browser/intents/default_intent_service.h (right): http://codereview.chromium.org/9104018/diff/9001/chrome/browser/intents/default_intent_service.h#newcode8 chrome/browser/intents/default_intent_service.h:8: #include <string> On 2012/02/05 05:21:51, James Hawkins wrote: > ...
8 years, 10 months ago (2012-02-07 00:45:06 UTC) #12
groby-ooo-7-16
http://codereview.chromium.org/9104018/diff/9001/chrome/browser/webdata/web_intents_table.cc File chrome/browser/webdata/web_intents_table.cc (right): http://codereview.chromium.org/9104018/diff/9001/chrome/browser/webdata/web_intents_table.cc#newcode182 chrome/browser/webdata/web_intents_table.cc:182: bool UrlMatches(const std::string& url_prefix, Yes, but StartsWithASCII doesn't compare ...
8 years, 10 months ago (2012-02-08 00:48:44 UTC) #13
Greg Billock
Although I suppose it's moot since all this is gone now. http://codereview.chromium.org/9104018/diff/9001/chrome/browser/webdata/web_intents_table.cc File chrome/browser/webdata/web_intents_table.cc (right): ...
8 years, 10 months ago (2012-02-08 19:11:36 UTC) #14
groby-ooo-7-16
lgtm mod nits http://codereview.chromium.org/9104018/diff/21001/chrome/browser/intents/default_web_intent_service.h File chrome/browser/intents/default_web_intent_service.h (right): http://codereview.chromium.org/9104018/diff/21001/chrome/browser/intents/default_web_intent_service.h#newcode18 chrome/browser/intents/default_web_intent_service.h:18: // of the service or extension ...
8 years, 10 months ago (2012-02-08 23:18:38 UTC) #15
Greg Billock
http://codereview.chromium.org/9104018/diff/21001/chrome/browser/intents/default_web_intent_service.h File chrome/browser/intents/default_web_intent_service.h (right): http://codereview.chromium.org/9104018/diff/21001/chrome/browser/intents/default_web_intent_service.h#newcode18 chrome/browser/intents/default_web_intent_service.h:18: // of the service or extension page handling the ...
8 years, 10 months ago (2012-02-08 23:34:06 UTC) #16
groby-ooo-7-16
http://codereview.chromium.org/9104018/diff/21001/chrome/browser/intents/default_web_intent_service.h File chrome/browser/intents/default_web_intent_service.h (right): http://codereview.chromium.org/9104018/diff/21001/chrome/browser/intents/default_web_intent_service.h#newcode22 chrome/browser/intents/default_web_intent_service.h:22: string16 action; I'm not sure what exactly is stored ...
8 years, 10 months ago (2012-02-08 23:48:07 UTC) #17
groby-ooo-7-16
lgtm
8 years, 10 months ago (2012-02-09 00:33:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/9104018/28003
8 years, 10 months ago (2012-02-09 20:50:29 UTC) #19
commit-bot: I haz the power
8 years, 10 months ago (2012-02-09 23:19:47 UTC) #20
Change committed as 121330

Powered by Google App Engine
This is Rietveld 408576698