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

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

Issue 151168: Moved typedef of RedirectList from HistoryService class to history namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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) 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 // 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // is not of the TabContents type. 453 // is not of the TabContents type.
454 TabContents* GetTabContentsForHandle(int handle, NavigationController** tab); 454 TabContents* GetTabContentsForHandle(int handle, NavigationController** tab);
455 455
456 ExternalTabContainer* GetExternalTabForHandle(int handle); 456 ExternalTabContainer* GetExternalTabForHandle(int handle);
457 457
458 // Callback for history redirect queries. 458 // Callback for history redirect queries.
459 virtual void OnRedirectQueryComplete( 459 virtual void OnRedirectQueryComplete(
460 HistoryService::Handle request_handle, 460 HistoryService::Handle request_handle,
461 GURL from_url, 461 GURL from_url,
462 bool success, 462 bool success,
463 HistoryService::RedirectList* redirects); 463 history::RedirectList* redirects);
464 464
465 // Determine if the message from the external host represents a browser 465 // Determine if the message from the external host represents a browser
466 // event, and if so dispatch it. 466 // event, and if so dispatch it.
467 bool InterceptBrowserEventMessageFromExternalHost(const std::string& message, 467 bool InterceptBrowserEventMessageFromExternalHost(const std::string& message,
468 const std::string& origin, 468 const std::string& origin,
469 const std::string& target); 469 const std::string& target);
470 470
471 typedef ObserverList<NotificationObserver> NotificationObserverList; 471 typedef ObserverList<NotificationObserver> NotificationObserverList;
472 typedef std::map<NavigationController*, LoginHandler*> LoginHandlerMap; 472 typedef std::map<NavigationController*, LoginHandler*> LoginHandlerMap;
473 typedef std::map<int, ExtensionPortContainer*> PortContainerMap; 473 typedef std::map<int, ExtensionPortContainer*> PortContainerMap;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 virtual void Observe(NotificationType type, 529 virtual void Observe(NotificationType type,
530 const NotificationSource& source, 530 const NotificationSource& source,
531 const NotificationDetails& details); 531 const NotificationDetails& details);
532 532
533 void OnRemoveProvider(); // Called via PostTask 533 void OnRemoveProvider(); // Called via PostTask
534 534
535 NotificationRegistrar registrar_; 535 NotificationRegistrar registrar_;
536 }; 536 };
537 537
538 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 538 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_url_provider_unittest.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698