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

Issue 10332156: Add ability to set RLZ statically for OS_ANDROID (Closed)

Created:
8 years, 7 months ago by Isaac (away)
Modified:
8 years ago
CC:
chromium-reviews, gone
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Android phones have a native RLZ component that generates tags. Chrome for Android needs to query this component and set the tag, rather than using chrome's rlz library. This CL adds the ability to statically set an rlz that was retrieved externally. BUG=157039

Patch Set 1 #

Patch Set 2 : Splitting android functions in prep for client id upload #

Total comments: 2

Patch Set 3 : fixed indentation #

Total comments: 2

Patch Set 4 : Better commit message #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -14 lines) Patch
M chrome/browser/search_engines/search_terms_data.h View 1 2 3 4 5 6 3 chunks +3 lines, -4 lines 3 comments Download
M chrome/browser/search_engines/search_terms_data.cc View 1 2 3 4 5 6 4 chunks +10 lines, -4 lines 4 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Isaac (away)
8 years, 7 months ago (2012-05-14 23:34:25 UTC) #1
jcivelli
LGTM https://chromiumcodereview.appspot.com/10332156/diff/2001/chrome/browser/search_engines/template_url.cc File chrome/browser/search_engines/template_url.cc (right): https://chromiumcodereview.appspot.com/10332156/diff/2001/chrome/browser/search_engines/template_url.cc#newcode100 chrome/browser/search_engines/template_url.cc:100: NOTREACHED(); Should be 2 space indent.
8 years, 7 months ago (2012-05-15 00:16:58 UTC) #2
Isaac (away)
https://chromiumcodereview.appspot.com/10332156/diff/2001/chrome/browser/search_engines/template_url.cc File chrome/browser/search_engines/template_url.cc (right): https://chromiumcodereview.appspot.com/10332156/diff/2001/chrome/browser/search_engines/template_url.cc#newcode100 chrome/browser/search_engines/template_url.cc:100: NOTREACHED(); On 2012/05/15 00:16:59, jcivelli wrote: > Should be ...
8 years, 7 months ago (2012-05-15 00:21:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ilevy@chromium.org/10332156/8
8 years, 7 months ago (2012-05-15 00:26:09 UTC) #4
commit-bot: I haz the power
Presubmit check for 10332156-8 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-15 00:26:24 UTC) #5
Isaac (away)
8 years, 7 months ago (2012-05-15 00:32:05 UTC) #6
Nico
CL descriptions should describe why a change is done, not just what it does. Either ...
8 years, 7 months ago (2012-05-15 16:58:54 UTC) #7
Peter Kasting
Doesn't Android define ENABLE_RLZ in addition to OS_ANDROID? It seems like it should. https://chromiumcodereview.appspot.com/10332156/diff/8/chrome/browser/search_engines/template_url.cc File ...
8 years, 7 months ago (2012-05-15 17:34:16 UTC) #8
Isaac (away)
ENABLE_RLZ is only set on Chrome builds on mac and windows. Android has different requirements. ...
8 years, 7 months ago (2012-05-15 19:44:41 UTC) #9
Peter Kasting
On 2012/05/15 19:44:41, Isaac wrote: > ENABLE_RLZ is only set on Chrome builds on mac ...
8 years, 7 months ago (2012-05-15 20:34:13 UTC) #10
Isaac (away)
I could make a ENABLE_STATIC_RLZ flag -- would you prefer that?
8 years, 7 months ago (2012-05-15 21:00:40 UTC) #11
Peter Kasting
OK, after thinking about this more, a couple things: * Your code is not threadsafe. ...
8 years, 7 months ago (2012-05-15 21:18:37 UTC) #12
Isaac (away)
Peter, I think I've made the changes you were looking for --w hat do you ...
8 years, 7 months ago (2012-05-19 00:07:42 UTC) #13
Peter Kasting
LGTM https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc File chrome/browser/search_engines/search_terms_data.cc (right): https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc#newcode98 chrome/browser/search_engines/search_terms_data.cc:98: if (!(g_static_rlz == NULL)) Nit: Use != https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.h ...
8 years, 7 months ago (2012-05-19 02:00:55 UTC) #14
Isaac (away)
https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc File chrome/browser/search_engines/search_terms_data.cc (right): https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc#newcode98 chrome/browser/search_engines/search_terms_data.cc:98: if (!(g_static_rlz == NULL)) On 2012/05/19 02:00:55, Peter Kasting ...
8 years, 7 months ago (2012-05-19 02:09:01 UTC) #15
Peter Kasting
https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc File chrome/browser/search_engines/search_terms_data.cc (right): https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc#newcode98 chrome/browser/search_engines/search_terms_data.cc:98: if (!(g_static_rlz == NULL)) On 2012/05/19 02:09:01, Isaac wrote: ...
8 years, 7 months ago (2012-05-19 02:13:07 UTC) #16
Isaac (away)
https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc File chrome/browser/search_engines/search_terms_data.cc (right): https://chromiumcodereview.appspot.com/10332156/diff/3009/chrome/browser/search_engines/search_terms_data.cc#newcode98 chrome/browser/search_engines/search_terms_data.cc:98: if (!(g_static_rlz == NULL)) OK -- will make this ...
8 years, 7 months ago (2012-05-19 02:39:31 UTC) #17
Peter Kasting
This CL was never closed. What happened here?
8 years, 3 months ago (2012-09-05 21:27:42 UTC) #18
Isaac (away)
Haven't submitted this yet, got bogged down in infra stuff. Still needs to be completed.
8 years, 3 months ago (2012-09-05 21:29:46 UTC) #19
Peter Kasting
On 2012/09/05 21:29:46, Isaac wrote: > Haven't submitted this yet, got bogged down in infra ...
8 years, 3 months ago (2012-09-05 21:36:02 UTC) #20
Isaac (away)
That seems reasonable. I'll see what I can do. This has to land for the ...
8 years, 2 months ago (2012-10-21 09:08:22 UTC) #21
Isaac (away)
Hi Peter, dfalcantara is going take over shepherding this feature. Are you still OK with ...
8 years ago (2012-11-30 07:42:11 UTC) #22
Peter Kasting
> Hi Peter, > > dfalcantara is going take over shepherding this feature. Are you ...
8 years ago (2012-12-01 03:54:15 UTC) #23
Isaac (away)
The RLZ changes when the user does their first search. That might be it ATM, ...
8 years ago (2012-12-01 03:59:00 UTC) #24
Peter Kasting
On 2012/12/01 03:59:00, Isaac wrote: > I think we'll still want the rlz to be ...
8 years ago (2012-12-01 04:10:30 UTC) #25
Isaac (away)
8 years ago (2012-12-08 07:12:13 UTC) #26

Powered by Google App Engine
This is Rietveld 408576698