mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
ceftests: Move TrackCallback to a separate header file
This commit is contained in:
@@ -19,20 +19,9 @@
|
||||
#include "include/cef_task.h"
|
||||
#include "include/cef_waitable_event.h"
|
||||
#include "tests/ceftests/thread_helper.h"
|
||||
#include "tests/ceftests/track_callback.h"
|
||||
#include "tests/gtest/include/gtest/gtest.h"
|
||||
|
||||
class TrackCallback {
|
||||
public:
|
||||
TrackCallback() : gotit_(false) {}
|
||||
void yes() { gotit_ = true; }
|
||||
bool isSet() { return gotit_; }
|
||||
void reset() { gotit_ = false; }
|
||||
operator bool() const { return gotit_; }
|
||||
|
||||
protected:
|
||||
bool gotit_;
|
||||
};
|
||||
|
||||
class ResourceContent {
|
||||
public:
|
||||
typedef std::multimap<std::string, std::string> HeaderMap;
|
||||
|
Reference in New Issue
Block a user