Chromium Code Reviews| Index: components/sync_driver/sync_prefs.h |
| diff --git a/components/sync_driver/sync_prefs.h b/components/sync_driver/sync_prefs.h |
| index 23109467a46dc4be4d3a20a9a7934279c50cab2e..b7266b47d5862f423cf5614cedeec9fb45fd077b 100644 |
| --- a/components/sync_driver/sync_prefs.h |
| +++ b/components/sync_driver/sync_prefs.h |
| @@ -140,6 +140,11 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe), |
| // For testing. |
| void SetManagedForTest(bool is_managed); |
| + int GetMemoryPressure() const; |
|
stanisc
2015/05/15 20:31:04
Need comments for all 4 functions
Gang Wu
2015/05/15 21:13:47
Done.
|
| + void SetMemoryPressure(int value); |
| + bool IsPreviousCrashed() const; |
|
stanisc
2015/05/15 20:31:04
These two function names are confusing. Basically
|
| + void SetCurrentShutdown(bool value); |
| + |
| private: |
| void RegisterPrefGroups(); |