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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 3340007: Revert "FBTF: Move the TabRestoreService::Observer into its own file." (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/browser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/automation/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include "app/message_box_flags.h" 7 #include "app/message_box_flags.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/bookmarks/bookmark_storage.h" 23 #include "chrome/browser/bookmarks/bookmark_storage.h"
24 #include "chrome/browser/blocked_popup_container.h" 24 #include "chrome/browser/blocked_popup_container.h"
25 #include "chrome/browser/browser_process.h" 25 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/browser_window.h" 26 #include "chrome/browser/browser_window.h"
27 #include "chrome/browser/debugger/devtools_manager.h" 27 #include "chrome/browser/debugger/devtools_manager.h"
28 #include "chrome/browser/download/download_prefs.h" 28 #include "chrome/browser/download/download_prefs.h"
29 #include "chrome/browser/download/download_shelf.h" 29 #include "chrome/browser/download/download_shelf.h"
30 #include "chrome/browser/find_bar.h" 30 #include "chrome/browser/find_bar.h"
31 #include "chrome/browser/location_bar.h" 31 #include "chrome/browser/location_bar.h"
32 #include "chrome/browser/login_prompt.h" 32 #include "chrome/browser/login_prompt.h"
33 #include "chrome/browser/profile.h"
34 #include "chrome/browser/platform_util.h" 33 #include "chrome/browser/platform_util.h"
35 #include "chrome/browser/prefs/pref_service.h" 34 #include "chrome/browser/prefs/pref_service.h"
36 #include "chrome/browser/renderer_host/render_process_host.h" 35 #include "chrome/browser/renderer_host/render_process_host.h"
37 #include "chrome/browser/renderer_host/render_view_host.h" 36 #include "chrome/browser/renderer_host/render_view_host.h"
38 #include "chrome/browser/tab_contents/infobar_delegate.h" 37 #include "chrome/browser/tab_contents/infobar_delegate.h"
39 #include "chrome/browser/tab_contents/interstitial_page.h" 38 #include "chrome/browser/tab_contents/interstitial_page.h"
40 #include "chrome/common/chrome_switches.h" 39 #include "chrome/common/chrome_switches.h"
41 #include "chrome/common/net/url_request_context_getter.h" 40 #include "chrome/common/net/url_request_context_getter.h"
42 #include "chrome/common/notification_service.h" 41 #include "chrome/common/notification_service.h"
43 #include "chrome/common/url_constants.h" 42 #include "chrome/common/url_constants.h"
(...skipping 1920 matching lines...) Expand 10 before | Expand all | Expand 10 after
1964 DCHECK(type == NotificationType::SESSION_END); 1963 DCHECK(type == NotificationType::SESSION_END);
1965 // OnBrowserRemoving does a ReleaseLater. When session end is received we exit 1964 // OnBrowserRemoving does a ReleaseLater. When session end is received we exit
1966 // before the task runs resulting in this object not being deleted. This 1965 // before the task runs resulting in this object not being deleted. This
1967 // Release balance out the Release scheduled by OnBrowserRemoving. 1966 // Release balance out the Release scheduled by OnBrowserRemoving.
1968 Release(); 1967 Release();
1969 } 1968 }
1970 1969
1971 void TestingAutomationProvider::OnRemoveProvider() { 1970 void TestingAutomationProvider::OnRemoveProvider() {
1972 AutomationProviderList::GetInstance()->RemoveProvider(this); 1971 AutomationProviderList::GetInstance()->RemoveProvider(this);
1973 } 1972 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698