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

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

Issue 7307: Reduce header dependencies. (Closed)
Patch Set: retry Created 12 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
« no previous file with comments | « base/stats_table.cc ('k') | chrome/browser/browser_init.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/process_util.h"
8 #include "chrome/app/chrome_dll_resource.h" 9 #include "chrome/app/chrome_dll_resource.h"
9 #include "chrome/browser/automation/automation_provider_list.h" 10 #include "chrome/browser/automation/automation_provider_list.h"
10 #include "chrome/browser/automation/ui_controls.h" 11 #include "chrome/browser/automation/ui_controls.h"
11 #include "chrome/browser/automation/url_request_failed_dns_job.h" 12 #include "chrome/browser/automation/url_request_failed_dns_job.h"
12 #include "chrome/browser/automation/url_request_mock_http_job.h" 13 #include "chrome/browser/automation/url_request_mock_http_job.h"
13 #include "chrome/browser/automation/url_request_slow_download_job.h" 14 #include "chrome/browser/automation/url_request_slow_download_job.h"
14 #include "chrome/browser/browser_window.h" 15 #include "chrome/browser/browser_window.h"
15 #include "chrome/browser/dom_operation_notification_details.h" 16 #include "chrome/browser/dom_operation_notification_details.h"
16 #include "chrome/browser/download/download_manager.h" 17 #include "chrome/browser/download/download_manager.h"
17 #include "chrome/browser/download/save_package.h" 18 #include "chrome/browser/download/save_package.h"
(...skipping 2404 matching lines...) Expand 10 before | Expand all | Expand 10 after
2422 int value) { 2423 int value) {
2423 bool success = false; 2424 bool success = false;
2424 if (browser_tracker_->ContainsHandle(handle)) { 2425 if (browser_tracker_->ContainsHandle(handle)) {
2425 Browser* browser = browser_tracker_->GetResource(handle); 2426 Browser* browser = browser_tracker_->GetResource(handle);
2426 browser->profile()->GetPrefs()->SetInteger(name.c_str(), value); 2427 browser->profile()->GetPrefs()->SetInteger(name.c_str(), value);
2427 success = true; 2428 success = true;
2428 } 2429 }
2429 Send(new AutomationMsg_SetIntPreferenceResponse(message.routing_id(), 2430 Send(new AutomationMsg_SetIntPreferenceResponse(message.routing_id(),
2430 success)); 2431 success));
2431 } 2432 }
OLDNEW
« no previous file with comments | « base/stats_table.cc ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698