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

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

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 // Allows automation provider to wait for getting passwords to finish. 1210 // Allows automation provider to wait for getting passwords to finish.
1211 class AutomationProviderGetPasswordsObserver : public PasswordStoreConsumer { 1211 class AutomationProviderGetPasswordsObserver : public PasswordStoreConsumer {
1212 public: 1212 public:
1213 AutomationProviderGetPasswordsObserver( 1213 AutomationProviderGetPasswordsObserver(
1214 AutomationProvider* provider, 1214 AutomationProvider* provider,
1215 IPC::Message* reply_message); 1215 IPC::Message* reply_message);
1216 virtual ~AutomationProviderGetPasswordsObserver(); 1216 virtual ~AutomationProviderGetPasswordsObserver();
1217 1217
1218 virtual void OnPasswordStoreRequestDone( 1218 virtual void OnPasswordStoreRequestDone(
1219 CancelableRequestProvider::Handle handle, 1219 CancelableRequestProvider::Handle handle,
1220 const std::vector<webkit_glue::PasswordForm*>& result); 1220 const std::vector<webkit::forms::PasswordForm*>& result) OVERRIDE;
1221 1221
1222 private: 1222 private:
1223 base::WeakPtr<AutomationProvider> provider_; 1223 base::WeakPtr<AutomationProvider> provider_;
1224 scoped_ptr<IPC::Message> reply_message_; 1224 scoped_ptr<IPC::Message> reply_message_;
1225 }; 1225 };
1226 1226
1227 // Observes when login entries stored in the password store are changed. The 1227 // Observes when login entries stored in the password store are changed. The
1228 // notifications are sent on the DB thread, the thread that interacts with the 1228 // notifications are sent on the DB thread, the thread that interacts with the
1229 // web database. 1229 // web database.
1230 class PasswordStoreLoginsChangedObserver 1230 class PasswordStoreLoginsChangedObserver
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
1858 private: 1858 private:
1859 base::WeakPtr<AutomationProvider> automation_; 1859 base::WeakPtr<AutomationProvider> automation_;
1860 scoped_ptr<IPC::Message> reply_message_; 1860 scoped_ptr<IPC::Message> reply_message_;
1861 std::string extension_id_; 1861 std::string extension_id_;
1862 content::NotificationRegistrar registrar_; 1862 content::NotificationRegistrar registrar_;
1863 1863
1864 DISALLOW_COPY_AND_ASSIGN(ExtensionPopupObserver); 1864 DISALLOW_COPY_AND_ASSIGN(ExtensionPopupObserver);
1865 }; 1865 };
1866 1866
1867 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1867 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698