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

Side by Side Diff: chrome/common/net/notifier/base/task_pump.cc

Issue 1956001: Moved XMPP notifier library from chrome/browser/sync to chrome/common.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 | « chrome/common/net/notifier/base/task_pump.h ('k') | chrome/common/net/notifier/base/time.h » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/sync/notifier/base/task_pump.h" 5 #include "chrome/common/net/notifier/base/task_pump.h"
6 #include "chrome/browser/sync/notifier/base/time.h" 6 #include "chrome/common/net/notifier/base/time.h"
7 #include "talk/base/common.h" 7 #include "talk/base/common.h"
8 #include "talk/base/thread.h" 8 #include "talk/base/thread.h"
9 9
10 namespace notifier { 10 namespace notifier {
11 11
12 // Don't add any messages because there are cleared and thrown away. 12 // Don't add any messages because there are cleared and thrown away.
13 enum { MSG_WAKE_UP = 1, MSG_TIMED_WAKE_UP }; 13 enum { MSG_WAKE_UP = 1, MSG_TIMED_WAKE_UP };
14 14
15 TaskPump::TaskPump() : timeout_change_count_(0), posted_(false) { 15 TaskPump::TaskPump() : timeout_change_count_(0), posted_(false) {
16 } 16 }
(...skipping 15 matching lines...) Expand all
32 talk_base::Thread::Current()->Post(this, MSG_WAKE_UP); 32 talk_base::Thread::Current()->Post(this, MSG_WAKE_UP);
33 posted_ = true; 33 posted_ = true;
34 } 34 }
35 } 35 }
36 36
37 int64 TaskPump::CurrentTime() { 37 int64 TaskPump::CurrentTime() {
38 return GetCurrent100NSTime(); 38 return GetCurrent100NSTime();
39 } 39 }
40 40
41 } // namespace notifier 41 } // namespace notifier
OLDNEW
« no previous file with comments | « chrome/common/net/notifier/base/task_pump.h ('k') | chrome/common/net/notifier/base/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698