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

Unified Diff: chrome/browser/automation/mock_tab_event_observer.h

Issue 14977013: Delete Automation[Tab/Renderer]Helper and users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update now that 202087 is committed Created 7 years, 7 months 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: chrome/browser/automation/mock_tab_event_observer.h
diff --git a/chrome/browser/automation/mock_tab_event_observer.h b/chrome/browser/automation/mock_tab_event_observer.h
deleted file mode 100644
index 4855029c873a430549e0403b600b8b0e5cb35632..0000000000000000000000000000000000000000
--- a/chrome/browser/automation/mock_tab_event_observer.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_AUTOMATION_MOCK_TAB_EVENT_OBSERVER_H_
-#define CHROME_BROWSER_AUTOMATION_MOCK_TAB_EVENT_OBSERVER_H_
-
-#include "chrome/browser/automation/automation_tab_helper.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-class MockTabEventObserver : public TabEventObserver {
- public:
- MockTabEventObserver();
- // Convenience constructor for observing the |tab_helper| on creation.
- explicit MockTabEventObserver(AutomationTabHelper* tab_helper);
- virtual ~MockTabEventObserver();
-
- // Promote these to public for testing purposes.
- void StartObserving(AutomationTabHelper* tab_helper);
- void StopObserving(AutomationTabHelper* tab_helper);
-
- MOCK_METHOD1(OnFirstPendingLoad, void(content::WebContents* web_contents));
- MOCK_METHOD1(OnNoMorePendingLoads, void(content::WebContents* web_contents));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockTabEventObserver);
-};
-
-#endif // CHROME_BROWSER_AUTOMATION_MOCK_TAB_EVENT_OBSERVER_H_
« no previous file with comments | « chrome/browser/automation/automation_tab_helper_unittest.cc ('k') | chrome/browser/automation/mock_tab_event_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698