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

Side by Side Diff: mojo/message_pump/message_pump_mojo.cc

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep on system_for_component Created 5 years, 4 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
« no previous file with comments | « mojo/message_pump/message_pump_mojo.h ('k') | mojo/message_pump/message_pump_mojo_handler.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/common/message_pump_mojo.h" 5 #include "mojo/message_pump/message_pump_mojo.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/debug/alias.h" 10 #include "base/debug/alias.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/threading/thread_local.h" 13 #include "base/threading/thread_local.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "mojo/common/message_pump_mojo_handler.h" 15 #include "mojo/message_pump/message_pump_mojo_handler.h"
16 #include "mojo/common/time_helper.h" 16 #include "mojo/message_pump/time_helper.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace common { 19 namespace common {
20 namespace { 20 namespace {
21 21
22 base::LazyInstance<base::ThreadLocalPointer<MessagePumpMojo> >::Leaky 22 base::LazyInstance<base::ThreadLocalPointer<MessagePumpMojo> >::Leaky
23 g_tls_current_pump = LAZY_INSTANCE_INITIALIZER; 23 g_tls_current_pump = LAZY_INSTANCE_INITIALIZER;
24 24
25 MojoDeadline TimeTicksToMojoDeadline(base::TimeTicks time_ticks, 25 MojoDeadline TimeTicksToMojoDeadline(base::TimeTicks time_ticks,
26 base::TimeTicks now) { 26 base::TimeTicks now) {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 void MessagePumpMojo::WillSignalHandler() { 286 void MessagePumpMojo::WillSignalHandler() {
287 FOR_EACH_OBSERVER(Observer, observers_, WillSignalHandler()); 287 FOR_EACH_OBSERVER(Observer, observers_, WillSignalHandler());
288 } 288 }
289 289
290 void MessagePumpMojo::DidSignalHandler() { 290 void MessagePumpMojo::DidSignalHandler() {
291 FOR_EACH_OBSERVER(Observer, observers_, DidSignalHandler()); 291 FOR_EACH_OBSERVER(Observer, observers_, DidSignalHandler());
292 } 292 }
293 293
294 } // namespace common 294 } // namespace common
295 } // namespace mojo 295 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/message_pump/message_pump_mojo.h ('k') | mojo/message_pump/message_pump_mojo_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698