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

Side by Side Diff: base/test/mock_callback.h

Issue 11238034: Added completion notification to Profile's ClearNetworkingHistorySince. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Increased similarity threshold... Created 8 years, 1 month 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
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 #ifndef BASE_MAC_BIND_OBJC_BLOCK_H_ 5 #ifndef BASE_TEST_MOCK_CALLBACK_H_
6 #define BASE_MAC_BIND_OBJC_BLOCK_H_ 6 #define BASE_TEST_MOCK_CALLBACK_H_
7 7
8 #include "base/base_export.h"
9 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
10 9
11 namespace base { 10 namespace base {
12 11
13 // Construct a closure from an objective-C block. 12 // Returns a new mock closure that expects to be Run() exactly once.
14 BASE_EXPORT base::Closure BindBlock(void(^block)()); 13 Closure NewExpectedClosure();
15 14
16 } // namespace base 15 } // namespace base
17 16
18 #endif // BASE_MAC_BIND_OBJC_BLOCK_H_ 17 #endif // BASE_TEST_MOCK_CALLBACK_H_
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/test/mock_callback.cc » ('j') | base/test/mock_callback.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698