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

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

Issue 10805020: Kill DownloadItem::IsOtr() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This implements a browser-side endpoint for UI automation activity. 5 // This implements a browser-side endpoint for UI automation activity.
6 // The client-side endpoint is implemented by AutomationProxy. 6 // The client-side endpoint is implemented by AutomationProxy.
7 // The entire lifetime of this object should be contained within that of 7 // The entire lifetime of this object should be contained within that of
8 // the BrowserProcess, and in particular the NotificationService that's 8 // the BrowserProcess, and in particular the NotificationService that's
9 // hung off of it. 9 // hung off of it.
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 149 }
150 150
151 #if defined(OS_WIN) && !defined(USE_AURA) 151 #if defined(OS_WIN) && !defined(USE_AURA)
152 // Adds the external tab passed in to the tab tracker. 152 // Adds the external tab passed in to the tab tracker.
153 bool AddExternalTab(ExternalTabContainer* external_tab); 153 bool AddExternalTab(ExternalTabContainer* external_tab);
154 #endif 154 #endif
155 155
156 // Get the DictionaryValue equivalent for a download item. Caller owns the 156 // Get the DictionaryValue equivalent for a download item. Caller owns the
157 // DictionaryValue. 157 // DictionaryValue.
158 base::DictionaryValue* GetDictionaryFromDownloadItem( 158 base::DictionaryValue* GetDictionaryFromDownloadItem(
159 const content::DownloadItem* download); 159 const content::DownloadItem* download,
160 Profile* profile);
160 161
161 protected: 162 protected:
162 friend struct content::BrowserThread::DeleteOnThread< 163 friend struct content::BrowserThread::DeleteOnThread<
163 content::BrowserThread::UI>; 164 content::BrowserThread::UI>;
164 friend class base::DeleteHelper<AutomationProvider>; 165 friend class base::DeleteHelper<AutomationProvider>;
165 virtual ~AutomationProvider(); 166 virtual ~AutomationProvider();
166 167
167 // Helper function to find the browser window that contains a given 168 // Helper function to find the browser window that contains a given
168 // NavigationController and activate that tab. 169 // NavigationController and activate that tab.
169 // Returns the Browser if found. 170 // Returns the Browser if found.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 std::string channel_id_; 367 std::string channel_id_;
367 368
368 // Trace data that has been collected but not flushed to the automation 369 // Trace data that has been collected but not flushed to the automation
369 // client. 370 // client.
370 TracingData tracing_data_; 371 TracingData tracing_data_;
371 372
372 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); 373 DISALLOW_COPY_AND_ASSIGN(AutomationProvider);
373 }; 374 };
374 375
375 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 376 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/browser/automation/automation_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698