| Index: ios/web/test/crw_fake_web_controller_observer.h
|
| diff --git a/ios/web/test/crw_fake_web_controller_observer.h b/ios/web/test/crw_fake_web_controller_observer.h
|
| index f2fc219bd729737ea5d7b35be5947344674c9feb..3d04589fbf9564ddd25160568de92142c300420b 100644
|
| --- a/ios/web/test/crw_fake_web_controller_observer.h
|
| +++ b/ios/web/test/crw_fake_web_controller_observer.h
|
| @@ -7,29 +7,13 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| -#include "base/memory/scoped_vector.h"
|
| #import "ios/web/public/web_state/crw_web_controller_observer.h"
|
|
|
| -namespace base {
|
| -class DictionaryValue;
|
| -}
|
| -
|
| -// Fake CRWWebControllerObserver. An OCMock is not used because it cannot handle
|
| -// C++ types without ugly workarounds, e.g. OCMockComplexTypeHelper/onSelector,
|
| -// that effectively employ a 'fake' pattern anyway.
|
| -// WCO uses C++ types (e.g. GURL, DictionaryValue) extensively.
|
| @interface CRWFakeWebControllerObserver : NSObject<CRWWebControllerObserver>
|
|
|
| -// Designated initializer. Returns a CRWWebControllerObserver that claims
|
| -// commands with the prefix |commandPrefix|. |commandPrefix| cannot be nil.
|
| -- (instancetype)initWithCommandPrefix:(NSString*)commandPrefix;
|
| -
|
| // YES if the page has loaded.
|
| @property(nonatomic, readonly) BOOL pageLoaded;
|
|
|
| -// The list of commands that have been received and saved.
|
| -- (ScopedVector<base::DictionaryValue>&)commandsReceived;
|
| -
|
| @end
|
|
|
| #endif // IOS_WEB_TEST_CRW_FAKE_WEB_CONTROLLER_OBSERVER_H_
|
|
|