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

Side by Side Diff: sync/tools/sync_listen_notifications.cc

Issue 10139004: [Sync] Move 'sync_listen_notifications' target to sync/tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/tools/DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(&notification_printer); 192 sync_notifier->RemoveObserver(&notification_printer);
193 io_thread.Stop(); 193 io_thread.Stop();
194 return 0; 194 return 0;
195 } 195 }
OLDNEW
« no previous file with comments | « sync/tools/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698