Chromium Code Reviews
DescriptionAdd API key to omnibox's suggest requests
Mostly closed question:
* Is the api key constant over the length of the run? [pfelding guesses yes. working assumpting is yes. The code for the api keys makes it look like the keys are compiled into the binary. joi to answer for sure.]
Closed questions:
* Send to all google suggest base URLs or only certain ones? [ANSWERED by afeldman: might as well send to everything]
* Send on all protocols or just https? [ANSWERED by afeldman: all protocols]
* The way I formatted the suggest URL parameter puts the parameter last in the URL. I think this looks better for people looking at URL. However, given the standard structure in template_url.cc of the way replacement is done, that means we end up with an extra & at the end of the URL. Is that a problem? [RESOLVED by dcblack by moving sugkey parameter into template itself]
* Do I have to do anything to update users who already have their template URL instantiated? (I think the answer is no, but I'm asking to double-check.) [ANSWERED by pkasting: increment version number in the prepopulated template URL file]
BUG=
TEST=tested using wireshark
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156956
Patch Set 1 #Patch Set 2 : Formatting. #
Total comments: 2
Patch Set 3 : Move sugkey to permanent parameter position. #
Total comments: 4
Patch Set 4 : Peter's comments. #Patch Set 5 : Rebase. #Patch Set 6 : 42 -> 43 #
Messages
Total messages: 12 (0 generated)
|
||||||||||||||||||||||||||||