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

Issue 10540003: Move guid generation from chrome/common/ to base/. (Closed)

Created:
8 years, 6 months ago by marja
Modified:
8 years, 6 months ago
CC:
chromium-reviews, MAD, mihaip-chromium-reviews_chromium.org, erikwright (departed), brettw-cc_chromium.org, Aaron Boodman, dyu1, dhollowa+watch_chromium.org, James Su, Ilya Sherman
Visibility:
Public.

Description

Move guid generation from chrome/common/ to base/. It will be needed in webkit/dom_storage/. BUG=NONE TEST=Existing tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142142

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : Moved to namespace base. #

Patch Set 5 : oops #

Patch Set 6 : rebased #

Patch Set 7 : installer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -293 lines) Patch
M base/base.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + base/guid.h View 1 2 3 1 chunk +9 lines, -8 lines 0 comments Download
A + base/guid.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
A + base/guid_posix.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
A + base/guid_unittest.cc View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
A + base/guid_win.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 5 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/autofill/autofill_profile.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_profile_unittest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/autofill/credit_card.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager_mac.mm View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager_unittest.cc View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 1 2 3 4 5 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/app_notification.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/shortcuts_backend.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/shortcuts_backend_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/history/shortcuts_database.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/shortcuts_database_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/auto_enrollment_client.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud_policy_client.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud_policy_controller.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/predictors/autocomplete_action_predictor.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/predictors/autocomplete_action_predictor_table.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/predictors/autocomplete_action_predictor_unittest.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/autofill_options_handler2.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autofill_table.cc View 1 2 3 16 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/webdata/autofill_table_unittest.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/webdata/web_data_service_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_database_migration_unittest.cc View 1 2 3 4 5 7 chunks +7 lines, -7 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/cloud_print/cloud_print_helpers.cc View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/guid.h View 1 2 3 4 5 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/common/guid.cc View 1 2 3 4 5 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/common/guid_posix.cc View 1 2 3 4 5 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/common/guid_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -42 lines 0 comments Download
D chrome/common/guid_win.cc View 1 2 3 4 5 1 chunk +0 lines, -38 lines 0 comments Download
M chrome/installer/gcapi/gcapi_last_run_test.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/gcapi/gcapi_reactivation_test.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/find_dialog.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
marja
I'd need GUID generation functionality in webkit/dom_storage, so this CL moves the GUID generation code ...
8 years, 6 months ago (2012-06-05 14:56:57 UTC) #1
pastarmovj
LGTM for /chrome/browser/policy.
8 years, 6 months ago (2012-06-05 14:59:56 UTC) #2
sky
LGTM
8 years, 6 months ago (2012-06-05 16:03:49 UTC) #3
jar (doing other things)
Could you motivate why you need GUID generation elsewhere? We end up having privacy issues ...
8 years, 6 months ago (2012-06-05 17:12:31 UTC) #4
marja
We'd need persistent IDs which are unique across browsing sessions for storing and restoring sessionStorage ...
8 years, 6 months ago (2012-06-05 17:21:42 UTC) #5
jar (doing other things)
On Tue, Jun 5, 2012 at 10:21 AM, <marja@chromium.org> wrote: > We'd need persistent IDs ...
8 years, 6 months ago (2012-06-05 19:23:14 UTC) #6
michaeln
Privacy, good question. > Is it plausible that you could use a counter, persisted in ...
8 years, 6 months ago (2012-06-05 21:16:42 UTC) #7
jar (doing other things)
On Tue, Jun 5, 2012 at 2:16 PM, <michaeln@chromium.org> wrote: > Privacy, good question. > ...
8 years, 6 months ago (2012-06-05 21:48:40 UTC) #8
jochen (gone - plz use gerrit)
I don't really see a privacy issue here. The UMA id was potentially send over ...
8 years, 6 months ago (2012-06-06 08:21:20 UTC) #9
jar (doing other things)
As I also mentioned, the lifetime may be short enough that this is a non-problem ...
8 years, 6 months ago (2012-06-06 18:25:46 UTC) #10
michaeln
> I still don't understand why you can't be lazy in your use of the ...
8 years, 6 months ago (2012-06-06 19:45:17 UTC) #11
dhollowa
Autofill LGTM.
8 years, 6 months ago (2012-06-07 15:59:57 UTC) #12
jar (doing other things)
http://codereview.chromium.org/10540003/diff/8003/base/guid.cc File base/guid.cc (right): http://codereview.chromium.org/10540003/diff/8003/base/guid.cc#newcode10 base/guid.cc:10: namespace guid { I'm wondering if this should be ...
8 years, 6 months ago (2012-06-07 16:44:05 UTC) #13
marja
Thanks for having a look; I moved this into the base:: namespace. http://codereview.chromium.org/10540003/diff/8003/base/guid.h File base/guid.h ...
8 years, 6 months ago (2012-06-08 08:58:45 UTC) #14
jar (doing other things)
base changes LGTM
8 years, 6 months ago (2012-06-11 17:03:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/10540003/6008
8 years, 6 months ago (2012-06-12 16:14:40 UTC) #16
commit-bot: I haz the power
Try job failure for 10540003-6008 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-12 17:36:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/10540003/10006
8 years, 6 months ago (2012-06-14 11:23:46 UTC) #18
commit-bot: I haz the power
Try job failure for 10540003-10006 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-14 12:34:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/10540003/8011
8 years, 6 months ago (2012-06-14 13:19:48 UTC) #20
commit-bot: I haz the power
8 years, 6 months ago (2012-06-14 14:22:09 UTC) #21
Change committed as 142142

Powered by Google App Engine
This is Rietveld 408576698