| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <cstdio> | 5 #include <cstdio> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
| 9 #include "base/base64.h" | 9 #include "base/base64.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 sync_notifier->UpdateCredentials(email, token); | 186 sync_notifier->UpdateCredentials(email, token); |
| 187 // Listen for notifications for all known types. | 187 // Listen for notifications for all known types. |
| 188 sync_notifier->UpdateEnabledTypes(syncable::ModelTypeSet::All()); | 188 sync_notifier->UpdateEnabledTypes(syncable::ModelTypeSet::All()); |
| 189 | 189 |
| 190 ui_loop.Run(); | 190 ui_loop.Run(); |
| 191 | 191 |
| 192 sync_notifier->RemoveObserver(¬ification_printer); | 192 sync_notifier->RemoveObserver(¬ification_printer); |
| 193 io_thread.Stop(); | 193 io_thread.Stop(); |
| 194 return 0; | 194 return 0; |
| 195 } | 195 } |
| OLD | NEW |