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

Side by Side Diff: chrome/browser/password_manager/password_manager_delegate_impl.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 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_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_IMPL_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_IMPL_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "chrome/browser/password_manager/password_manager_delegate.h" 10 #include "chrome/browser/password_manager/password_manager_delegate.h"
12 11
13 class TabContents; 12 class TabContents;
14 13
15 class PasswordManagerDelegateImpl : public PasswordManagerDelegate { 14 class PasswordManagerDelegateImpl : public PasswordManagerDelegate {
16 public: 15 public:
17 explicit PasswordManagerDelegateImpl(TabContents* contents) 16 explicit PasswordManagerDelegateImpl(TabContents* contents)
18 : tab_contents_(contents) {} 17 : tab_contents_(contents) {}
19 18
20 // PasswordManagerDelegate implementation. 19 // PasswordManagerDelegate implementation.
21 virtual void FillPasswordForm( 20 virtual void FillPasswordForm(
22 const webkit::forms::PasswordFormFillData& form_data) OVERRIDE; 21 const webkit::forms::PasswordFormFillData& form_data) OVERRIDE;
23 virtual void AddSavePasswordInfoBarIfPermitted( 22 virtual void AddSavePasswordInfoBarIfPermitted(
24 PasswordFormManager* form_to_save) OVERRIDE; 23 PasswordFormManager* form_to_save) OVERRIDE;
25 virtual Profile* GetProfile() OVERRIDE; 24 virtual Profile* GetProfile() OVERRIDE;
26 virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE; 25 virtual bool DidLastPageLoadEncounterSSLErrors() OVERRIDE;
27 26
28 private: 27 private:
29 TabContents* tab_contents_; 28 TabContents* tab_contents_;
30 29
31 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDelegateImpl); 30 DISALLOW_COPY_AND_ASSIGN(PasswordManagerDelegateImpl);
32 }; 31 };
33 32
34 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_IMPL_H_ 33 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager_delegate.h ('k') | chrome/browser/password_manager/password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698