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

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

Issue 10388239: Make NetworkProfileBubble not use BrowserList::GetLastActive() as much. Instead pass it a profile a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 string16 browser_name; 73 string16 browser_name;
74 int import_items; 74 int import_items;
75 bool first_run; 75 bool first_run;
76 Browser* browser; 76 Browser* browser;
77 IPC::Message* reply_message; 77 IPC::Message* reply_message;
78 }; 78 };
79 79
80 virtual ~TestingAutomationProvider(); 80 virtual ~TestingAutomationProvider();
81 81
82 // BrowserList::Observer: 82 // BrowserList::Observer:
83 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; 83 virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
84 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; 84 virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
85 85
86 // importer::ImporterListObserver: 86 // importer::ImporterListObserver:
87 virtual void OnSourceProfilesLoaded() OVERRIDE; 87 virtual void OnSourceProfilesLoaded() OVERRIDE;
88 88
89 // content::NotificationObserver: 89 // content::NotificationObserver:
90 virtual void Observe(int type, 90 virtual void Observe(int type,
91 const content::NotificationSource& source, 91 const content::NotificationSource& source,
92 const content::NotificationDetails& details) OVERRIDE; 92 const content::NotificationDetails& details) OVERRIDE;
93 93
94 // IPC Message callbacks. 94 // IPC Message callbacks.
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 ImportSettingsData import_settings_data_; 1497 ImportSettingsData import_settings_data_;
1498 1498
1499 // The automation event observer queue. It is lazily created when an observer 1499 // The automation event observer queue. It is lazily created when an observer
1500 // is added to avoid overhead when not needed. 1500 // is added to avoid overhead when not needed.
1501 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1501 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1502 1502
1503 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1503 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1504 }; 1504 };
1505 1505
1506 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1506 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698