|
Move GetMachineId() to its own file.
The sha1 logic is now shared cross-platform which calls out to a
platform-specific function to get system data.
GetMachineId() now returns a string instead of a wstring. The SID
is still a string16 instead of a wstring, which is the same on windows.
(I considered making it a string too, but considered it too risky since
if a wide character creeps in somehow it'd change the SHA result.)
The platform-specific implementation on mac is still empty.
BUG=none
TEST=none
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+299 lines, -239 lines) |
Patch |
|
M |
lib/financial_ping.cc
|
View
|
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
|
M |
lib/financial_ping_test.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
|
A |
lib/machine_id.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
lib/machine_id.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
|
A |
lib/machine_id_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
lib/string_utils.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lib/string_utils.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lib/string_utils_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
mac/lib/machine_id_mac.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
rlz.gyp
|
View
|
1
2
3
4
5
6
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
win/lib/machine_deal.h
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
win/lib/machine_deal.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -168 lines |
0 comments
|
Download
|
|
M |
win/lib/machine_deal_test.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
A |
win/lib/machine_id_win.cc
|
View
|
1
2
3
6
7
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
|
M |
win/lib/rlz_lib.h
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
win/lib/rlz_lib.cc
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
Total messages: 4
|