| Index: chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| index 472d592d17123d690d70ae239131db481dcd371a..fab13e562a00528ecf28d9359ddcba4f839ae285 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java
|
| @@ -33,6 +33,21 @@ public class SyncNotificationController implements ProfileSyncService.SyncStateC
|
| private final ProfileSyncService mProfileSyncService;
|
|
|
| public SyncNotificationController(Context context,
|
| + Class<? extends Activity> passphraseRequestActivity,
|
| + Class<? extends Fragment> accountManagementFragment) {
|
| + mApplicationContext = context.getApplicationContext();
|
| + mNotificationController = GoogleServicesNotificationController.get(context);
|
| + mProfileSyncService = ProfileSyncService.get(context);
|
| + mAndroidSyncSettings = AndroidSyncSettings.get(context);
|
| + mPassphraseRequestActivity = passphraseRequestActivity;
|
| + mAccountManagementFragment = accountManagementFragment;
|
| + }
|
| +
|
| + /**
|
| + * Deprecated for having unnecessary args; use the first constructor.
|
| + */
|
| + @Deprecated
|
| + public SyncNotificationController(Context context,
|
| GoogleServicesNotificationController controller,
|
| Class<? extends Activity> passphraseRequestActivity,
|
| Class<? extends Fragment> accountManagementFragment) {
|
|
|