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

Side by Side Diff: remoting/host/vlog_net_log.cc

Issue 18052008: Use a direct include of time headers in ppapi/, printing/, remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « remoting/host/video_scheduler.cc ('k') | remoting/host/win/worker_process_launcher.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) 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 "remoting/host/vlog_net_log.h" 5 #include "remoting/host/vlog_net_log.h"
6 6
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h"
11 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
11 #include "base/time/time.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 class VlogNetLog::Observer : public net::NetLog::ThreadSafeObserver { 16 class VlogNetLog::Observer : public net::NetLog::ThreadSafeObserver {
17 public: 17 public:
18 Observer(); 18 Observer();
19 virtual ~Observer(); 19 virtual ~Observer();
20 20
21 // NetLog::ThreadSafeObserver overrides: 21 // NetLog::ThreadSafeObserver overrides:
(...skipping 21 matching lines...) Expand all
43 VlogNetLog::VlogNetLog() 43 VlogNetLog::VlogNetLog()
44 : observer_(new Observer()) { 44 : observer_(new Observer()) {
45 AddThreadSafeObserver(observer_.get(), LOG_ALL_BUT_BYTES); 45 AddThreadSafeObserver(observer_.get(), LOG_ALL_BUT_BYTES);
46 } 46 }
47 47
48 VlogNetLog::~VlogNetLog() { 48 VlogNetLog::~VlogNetLog() {
49 RemoveThreadSafeObserver(observer_.get()); 49 RemoveThreadSafeObserver(observer_.get());
50 } 50 }
51 51
52 } // namespace remoting 52 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/video_scheduler.cc ('k') | remoting/host/win/worker_process_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698