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

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

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally 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
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/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
(...skipping 28 matching lines...) Expand all
39 #include "chrome/browser/find_bar.h" 39 #include "chrome/browser/find_bar.h"
40 #include "chrome/browser/location_bar.h" 40 #include "chrome/browser/location_bar.h"
41 #include "chrome/browser/login_prompt.h" 41 #include "chrome/browser/login_prompt.h"
42 #include "chrome/browser/profile.h" 42 #include "chrome/browser/profile.h"
43 #include "chrome/browser/platform_util.h" 43 #include "chrome/browser/platform_util.h"
44 #include "chrome/browser/prefs/pref_service.h" 44 #include "chrome/browser/prefs/pref_service.h"
45 #include "chrome/browser/profile_manager.h" 45 #include "chrome/browser/profile_manager.h"
46 #include "chrome/browser/renderer_host/render_process_host.h" 46 #include "chrome/browser/renderer_host/render_process_host.h"
47 #include "chrome/browser/renderer_host/render_view_host.h" 47 #include "chrome/browser/renderer_host/render_view_host.h"
48 #include "chrome/browser/search_engines/template_url.h" 48 #include "chrome/browser/search_engines/template_url.h"
49 #include "chrome/browser/search_engines/template_url_model.h"
49 #include "chrome/browser/tab_contents/infobar_delegate.h" 50 #include "chrome/browser/tab_contents/infobar_delegate.h"
50 #include "chrome/browser/tab_contents/interstitial_page.h" 51 #include "chrome/browser/tab_contents/interstitial_page.h"
52 #include "chrome/browser/tab_contents/tab_contents.h"
51 #include "chrome/browser/translate/translate_infobar_delegate.h" 53 #include "chrome/browser/translate/translate_infobar_delegate.h"
52 #include "chrome/common/chrome_constants.h" 54 #include "chrome/common/chrome_constants.h"
53 #include "chrome/common/chrome_paths.h" 55 #include "chrome/common/chrome_paths.h"
54 #include "chrome/common/chrome_switches.h" 56 #include "chrome/common/chrome_switches.h"
55 #include "chrome/common/net/url_request_context_getter.h" 57 #include "chrome/common/net/url_request_context_getter.h"
56 #include "chrome/common/notification_service.h" 58 #include "chrome/common/notification_service.h"
57 #include "chrome/common/url_constants.h" 59 #include "chrome/common/url_constants.h"
58 #include "chrome/test/automation/automation_messages.h" 60 #include "chrome/test/automation/automation_messages.h"
59 #include "net/base/cookie_store.h" 61 #include "net/base/cookie_store.h"
60 #include "net/url_request/url_request_context.h" 62 #include "net/url_request/url_request_context.h"
(...skipping 3812 matching lines...) Expand 10 before | Expand all | Expand 10 after
3873 DCHECK(type == NotificationType::SESSION_END); 3875 DCHECK(type == NotificationType::SESSION_END);
3874 // OnBrowserRemoving does a ReleaseLater. When session end is received we exit 3876 // OnBrowserRemoving does a ReleaseLater. When session end is received we exit
3875 // before the task runs resulting in this object not being deleted. This 3877 // before the task runs resulting in this object not being deleted. This
3876 // Release balance out the Release scheduled by OnBrowserRemoving. 3878 // Release balance out the Release scheduled by OnBrowserRemoving.
3877 Release(); 3879 Release();
3878 } 3880 }
3879 3881
3880 void TestingAutomationProvider::OnRemoveProvider() { 3882 void TestingAutomationProvider::OnRemoveProvider() {
3881 AutomationProviderList::GetInstance()->RemoveProvider(this); 3883 AutomationProviderList::GetInstance()->RemoveProvider(this);
3882 } 3884 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.h ('k') | chrome/browser/automation/url_request_automation_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698