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

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

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/browser/aeropeek_manager.cc ('k') | chrome/browser/bookmarks/bookmark_model.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/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/debug/trace_event.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
15 #include "base/json/string_escape.h" 15 #include "base/json/string_escape.h"
16 #include "base/message_loop.h" 16 #include "base/message_loop.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/process_util.h" 18 #include "base/process_util.h"
19 #include "base/stl_util-inl.h" 19 #include "base/stl_util-inl.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 #include "base/task.h" 21 #include "base/task.h"
22 #include "base/threading/thread.h" 22 #include "base/threading/thread.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/synchronization/waitable_event.h"
27 #include "chrome/app/chrome_command_ids.h" 27 #include "chrome/app/chrome_command_ids.h"
28 #include "chrome/browser/autofill/autofill_manager.h" 28 #include "chrome/browser/autofill/autofill_manager.h"
29 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h" 29 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h"
30 #include "chrome/browser/automation/automation_browser_tracker.h" 30 #include "chrome/browser/automation/automation_browser_tracker.h"
31 #include "chrome/browser/automation/automation_extension_tracker.h" 31 #include "chrome/browser/automation/automation_extension_tracker.h"
32 #include "chrome/browser/automation/automation_provider_list.h" 32 #include "chrome/browser/automation/automation_provider_list.h"
33 #include "chrome/browser/automation/automation_provider_observers.h" 33 #include "chrome/browser/automation/automation_provider_observers.h"
34 #include "chrome/browser/automation/automation_resource_message_filter.h" 34 #include "chrome/browser/automation/automation_resource_message_filter.h"
35 #include "chrome/browser/automation/automation_tab_tracker.h" 35 #include "chrome/browser/automation/automation_tab_tracker.h"
36 #include "chrome/browser/automation/automation_window_tracker.h" 36 #include "chrome/browser/automation/automation_window_tracker.h"
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 } 1016 }
1017 } 1017 }
1018 } 1018 }
1019 1019
1020 void AutomationProvider::SaveAsAsync(int tab_handle) { 1020 void AutomationProvider::SaveAsAsync(int tab_handle) {
1021 NavigationController* tab = NULL; 1021 NavigationController* tab = NULL;
1022 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); 1022 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
1023 if (tab_contents) 1023 if (tab_contents)
1024 tab_contents->OnSavePage(); 1024 tab_contents->OnSavePage();
1025 } 1025 }
OLDNEW
« no previous file with comments | « chrome/browser/aeropeek_manager.cc ('k') | chrome/browser/bookmarks/bookmark_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698