|
Introduce GeolocationPermissionRequestID, a wrapper class to contain the (render process ID, render view ID, bridge ID) triple that uniquely identifies a geolocation permission request.
This ends up simplifying/saving a noticeable chunk of code.
Also do some other cleanups, e.g.:
* Eliminating using statements when they don't save any lines
* Wrapping per the style guide rules
* Changing PendingInfoBarRequest from a struct to a class since it has more than just a constructor/init method
* Move GeolocationDispatcherHost into content namespace.
BUG=none
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=164475
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+461 lines, -527 lines) |
Patch |
 |
M |
chrome/browser/geolocation/chrome_geolocation_permission_context.h
|
View
|
1
2
|
6 chunks |
+6 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/chrome_geolocation_permission_context.cc
|
View
|
1
2
|
9 chunks |
+51 lines, -68 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/chrome_geolocation_permission_context_android.h
|
View
|
1
2
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
|
View
|
1
2
|
24 chunks |
+95 lines, -112 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h
|
View
|
1
2
|
3 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_confirm_infobar_delegate.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h
|
View
|
1
2
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.h
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_confirm_infobar_delegate_factory.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_infobar_queue_controller.h
|
View
|
1
2
|
3 chunks |
+17 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_infobar_queue_controller.cc
|
View
|
1
2
|
6 chunks |
+123 lines, -174 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_infobar_queue_controller_unittest.cc
|
View
|
1
2
|
6 chunks |
+15 lines, -19 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/geolocation/geolocation_permission_request_id.h
|
View
|
1
2
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/geolocation/geolocation_permission_request_id.cc
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/geolocation.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/geolocation_dispatcher_host.h
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/geolocation/geolocation_dispatcher_host.cc
|
View
|
1
2
|
7 chunks |
+33 lines, -26 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/geolocation_permission_context.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|