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

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

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
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"
11 #include "base/json/string_escape.h" 11 #include "base/json/string_escape.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "chrome/app/chrome_dll_resource.h" 16 #include "chrome/app/chrome_command_ids.h"
17 #include "chrome/browser/app_modal_dialog.h" 17 #include "chrome/browser/app_modal_dialog.h"
18 #include "chrome/browser/app_modal_dialog_queue.h" 18 #include "chrome/browser/app_modal_dialog_queue.h"
19 #include "chrome/browser/autocomplete/autocomplete.h" 19 #include "chrome/browser/autocomplete/autocomplete.h"
20 #include "chrome/browser/autocomplete/autocomplete_edit.h" 20 #include "chrome/browser/autocomplete/autocomplete_edit.h"
21 #include "chrome/browser/autocomplete/autocomplete_match.h" 21 #include "chrome/browser/autocomplete/autocomplete_match.h"
22 #include "chrome/browser/autofill/autofill_manager.h" 22 #include "chrome/browser/autofill/autofill_manager.h"
23 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h" 23 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h"
24 #include "chrome/browser/automation/automation_browser_tracker.h" 24 #include "chrome/browser/automation/automation_browser_tracker.h"
25 #include "chrome/browser/automation/automation_provider_json.h" 25 #include "chrome/browser/automation/automation_provider_json.h"
26 #include "chrome/browser/automation/automation_provider_list.h" 26 #include "chrome/browser/automation/automation_provider_list.h"
(...skipping 4408 matching lines...) Expand 10 before | Expand all | Expand 10 after
4435 DCHECK(type == NotificationType::SESSION_END); 4435 DCHECK(type == NotificationType::SESSION_END);
4436 // OnBrowserRemoved does a ReleaseLater. When session end is received we exit 4436 // OnBrowserRemoved does a ReleaseLater. When session end is received we exit
4437 // before the task runs resulting in this object not being deleted. This 4437 // before the task runs resulting in this object not being deleted. This
4438 // Release balance out the Release scheduled by OnBrowserRemoved. 4438 // Release balance out the Release scheduled by OnBrowserRemoved.
4439 Release(); 4439 Release();
4440 } 4440 }
4441 4441
4442 void TestingAutomationProvider::OnRemoveProvider() { 4442 void TestingAutomationProvider::OnRemoveProvider() {
4443 AutomationProviderList::GetInstance()->RemoveProvider(this); 4443 AutomationProviderList::GetInstance()->RemoveProvider(this);
4444 } 4444 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698