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

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

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/browser/automation/automation_provider_win.cc » ('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/automation_provider.h" 5 #include "chrome/browser/automation/automation_provider.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "app/message_box_flags.h" 9 #include "app/message_box_flags.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/debug/trace_event.h"
11 #include "base/file_path.h" 12 #include "base/file_path.h"
12 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
13 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
14 #include "base/json/string_escape.h" 15 #include "base/json/string_escape.h"
15 #include "base/message_loop.h" 16 #include "base/message_loop.h"
16 #include "base/path_service.h" 17 #include "base/path_service.h"
17 #include "base/process_util.h" 18 #include "base/process_util.h"
18 #include "base/stl_util-inl.h" 19 #include "base/stl_util-inl.h"
19 #include "base/string_util.h" 20 #include "base/string_util.h"
20 #include "base/task.h" 21 #include "base/task.h"
21 #include "base/thread.h" 22 #include "base/thread.h"
22 #include "base/trace_event.h"
23 #include "base/string_number_conversions.h" 23 #include "base/string_number_conversions.h"
24 #include "base/utf_string_conversions.h" 24 #include "base/utf_string_conversions.h"
25 #include "base/values.h" 25 #include "base/values.h"
26 #include "base/waitable_event.h" 26 #include "base/waitable_event.h"
27 #include "chrome/app/chrome_dll_resource.h" 27 #include "chrome/app/chrome_dll_resource.h"
28 #include "chrome/browser/app_modal_dialog.h" 28 #include "chrome/browser/app_modal_dialog.h"
29 #include "chrome/browser/app_modal_dialog_queue.h" 29 #include "chrome/browser/app_modal_dialog_queue.h"
30 #include "chrome/browser/autofill/autofill_manager.h" 30 #include "chrome/browser/autofill/autofill_manager.h"
31 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h" 31 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h"
32 #include "chrome/browser/automation/automation_browser_tracker.h" 32 #include "chrome/browser/automation/automation_browser_tracker.h"
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 } 983 }
984 } 984 }
985 } 985 }
986 986
987 void AutomationProvider::SaveAsAsync(int tab_handle) { 987 void AutomationProvider::SaveAsAsync(int tab_handle) {
988 NavigationController* tab = NULL; 988 NavigationController* tab = NULL;
989 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); 989 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
990 if (tab_contents) 990 if (tab_contents)
991 tab_contents->OnSavePage(); 991 tab_contents->OnSavePage();
992 } 992 }
OLDNEW
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/browser/automation/automation_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698