ceftests: Move TrackCallback to a separate header file

This commit is contained in:
Marshall Greenblatt
2020-08-19 18:25:42 -04:00
parent 08ebbb395a
commit 6337aa6fad
3 changed files with 24 additions and 12 deletions

View File

@@ -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;