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

Side by Side Diff: chrome/browser/sync/test/integration/await_match_status_change_checker.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_BROWSER_SYNC_TEST_INTEGRATION_AWAIT_MATCH_STATUS_CHANGE_CHECKER_H _ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_AWAIT_MATCH_STATUS_CHANGE_CHECKER_H _
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_AWAIT_MATCH_STATUS_CHANGE_CHECKER_H _ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_AWAIT_MATCH_STATUS_CHANGE_CHECKER_H _
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
13 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h" 12 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h"
14 13
15 // Helper class used in the datatype specific AwaitAllModelsMatch 14 // Helper class used in the datatype specific AwaitAllModelsMatch
16 // implementations. |conditon| should be a datatype specific condition that 15 // implementations. |conditon| should be a datatype specific condition that
17 // verifies the state of all the profiles involved in the test. 16 // verifies the state of all the profiles involved in the test.
18 class AwaitMatchStatusChangeChecker : public MultiClientStatusChangeChecker { 17 class AwaitMatchStatusChangeChecker : public MultiClientStatusChangeChecker {
19 public: 18 public:
20 typedef base::Callback<bool(void)> ExitConditionCallback; 19 typedef base::Callback<bool(void)> ExitConditionCallback;
21 20
22 AwaitMatchStatusChangeChecker(const ExitConditionCallback& condition, 21 AwaitMatchStatusChangeChecker(const ExitConditionCallback& condition,
23 const std::string& debug_message); 22 const std::string& debug_message);
24 ~AwaitMatchStatusChangeChecker() override; 23 ~AwaitMatchStatusChangeChecker() override;
25 24
26 bool IsExitConditionSatisfied() override; 25 bool IsExitConditionSatisfied() override;
27 std::string GetDebugMessage() const override; 26 std::string GetDebugMessage() const override;
28 27
29 private: 28 private:
30 ExitConditionCallback condition_; 29 ExitConditionCallback condition_;
31 std::string debug_message_; 30 std::string debug_message_;
32 }; 31 };
33 32
34 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_AWAIT_MATCH_STATUS_CHANGE_CHECKE R_H_ 33 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_AWAIT_MATCH_STATUS_CHANGE_CHECKE R_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/autofill_helper.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698