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

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

Issue 7104029: Automation: fix chrome/browser dependency on chrome/test headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_observers.h" 5 #include "chrome/browser/automation/automation_provider_observers.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/string_util.h" 16 #include "base/string_util.h"
17 #include "base/stringprintf.h" 17 #include "base/stringprintf.h"
18 #include "base/string_number_conversions.h"
18 #include "base/threading/thread_restrictions.h" 19 #include "base/threading/thread_restrictions.h"
19 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
20 #include "base/values.h" 21 #include "base/values.h"
21 #include "chrome/app/chrome_command_ids.h" 22 #include "chrome/app/chrome_command_ids.h"
22 #include "chrome/browser/automation/automation_provider.h" 23 #include "chrome/browser/automation/automation_provider.h"
23 #include "chrome/browser/automation/automation_provider_json.h" 24 #include "chrome/browser/automation/automation_provider_json.h"
24 #include "chrome/browser/bookmarks/bookmark_model.h" 25 #include "chrome/browser/bookmarks/bookmark_model.h"
25 #include "chrome/browser/browser_process.h" 26 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/dom_operation_notification_details.h" 27 #include "chrome/browser/dom_operation_notification_details.h"
27 #include "chrome/browser/download/download_item.h" 28 #include "chrome/browser/download/download_item.h"
(...skipping 2545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 this, 2574 this,
2574 &WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread)); 2575 &WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread));
2575 } 2576 }
2576 2577
2577 void WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread() { 2578 void WaitForProcessLauncherThreadToGoIdleObserver::RunOnUIThread() {
2578 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2579 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2579 if (automation_) 2580 if (automation_)
2580 automation_->Send(reply_message_.release()); 2581 automation_->Send(reply_message_.release());
2581 Release(); 2582 Release();
2582 } 2583 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698