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

Unified Diff: content/browser/background_sync/background_sync_registration_options.cc

Issue 1208103006: Try harder to work around a clang/win bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/background_sync/background_sync_registration_options.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/background_sync/background_sync_registration_options.cc
diff --git a/content/browser/background_sync/background_sync_registration_options.cc b/content/browser/background_sync/background_sync_registration_options.cc
index dc3d2e15decfa5b4aa0c7cd31c54cf088334c367..4c00ad1b8b7b6bf01117e2f187eb712be7209cdc 100644
--- a/content/browser/background_sync/background_sync_registration_options.cc
+++ b/content/browser/background_sync/background_sync_registration_options.cc
@@ -7,8 +7,11 @@
namespace content {
// TODO(thakis): Remove this once http://crbug.com/488634 is fixed.
-BackgroundSyncRegistrationOptions::BackgroundSyncRegistrationOptions() =
- default;
+BackgroundSyncRegistrationOptions::BackgroundSyncRegistrationOptions()
+ : min_period(0),
+ network_state(NETWORK_STATE_ONLINE),
+ power_state(POWER_STATE_AVOID_DRAINING),
+ periodicity(SYNC_ONE_SHOT) {}
bool BackgroundSyncRegistrationOptions::Equals(
const BackgroundSyncRegistrationOptions& other) const {
« no previous file with comments | « content/browser/background_sync/background_sync_registration_options.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698