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

Unified Diff: ios/web/test/crw_fake_web_controller_observer.h

Issue 2567303003: [ios] Removed unused CRWWebControllerObserver methods. (Closed)
Patch Set: Self review Created 4 years 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 side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « ios/web/public/web_state/crw_web_controller_observer.h ('k') | ios/web/test/crw_fake_web_controller_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698