void clear_notified() { notified_ = false; }
private:
- void OnGoogleURLUpdated(GURL old_url, GURL new_url);
+ void OnGoogleURLUpdated();
bool notified_;
scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_;
TestCallbackListener::~TestCallbackListener() {
}
-void TestCallbackListener::OnGoogleURLUpdated(GURL old_url, GURL new_url) {
+void TestCallbackListener::OnGoogleURLUpdated() {
notified_ = true;
}
class TestGoogleURLTrackerClient : public GoogleURLTrackerClient {
public:
- TestGoogleURLTrackerClient(Profile* profile_);
+ explicit TestGoogleURLTrackerClient(Profile* profile_);
virtual ~TestGoogleURLTrackerClient();
virtual void SetListeningForNavigationStart(bool listen) OVERRIDE;