Inlined some kZeroTime constants in metrics/desktop_session_duration
In jumbo builds many cc files compile in the same translation unit and then they share the same anonymous namespace. Having the same constant twice with the same name will then result in compilation failures. In preparation for jumbo in chrome/browser, this patch inlines the constants in chrome_visibility_observer.cc and desktop_session_duration_tracker.cc. Bug: 746957 Change-Id: I1b7d4b2f4a83a8a75c248f07199af6f4e72e87f5 Reviewed-on: https://chromium-review.googlesource.com/897533 Commit-Queue: Daniel Bratell <bratell@opera.com> Reviewed-by:Gayane Petrosyan <gayane@chromium.org> Cr-Commit-Position: refs/heads/master@{#534198}
Showing
Please register or sign in to comment