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

Side by Side Diff: chromeos/dbus/blocking_method_caller.cc

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase 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
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 "chrome/browser/chromeos/dbus/blocking_method_caller.h" 5 #include "chromeos/dbus/blocking_method_caller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "dbus/bus.h" 8 #include "dbus/bus.h"
9 #include "dbus/object_proxy.h" 9 #include "dbus/object_proxy.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 namespace { 13 namespace {
14 14
15 // A utility class to ensure the WaitableEvent is signaled. 15 // A utility class to ensure the WaitableEvent is signaled.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 base::Bind(&CallMethodAndBlockInternal, 58 base::Bind(&CallMethodAndBlockInternal,
59 &response, 59 &response,
60 base::Owned(signaler), 60 base::Owned(signaler),
61 base::Unretained(proxy_), 61 base::Unretained(proxy_),
62 method_call)); 62 method_call));
63 on_blocking_method_call_.Wait(); 63 on_blocking_method_call_.Wait();
64 return response; 64 return response;
65 } 65 }
66 66
67 } // namespace chromeos 67 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/blocking_method_caller.h ('k') | chromeos/dbus/blocking_method_caller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698