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

Side by Side Diff: chrome/browser/password_manager/encryptor.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_ENCRYPTOR_H__ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_ENCRYPTOR_H__
6 #define CHROME_BROWSER_PASSWORD_MANAGER_ENCRYPTOR_H__ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_ENCRYPTOR_H__
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/string16.h" 10 #include "base/string16.h"
12 11
13 // The Encryptor class gives access to simple encryption and decryption of 12 // The Encryptor class gives access to simple encryption and decryption of
14 // strings. Note that on Mac, access to the system Keychain is required and 13 // strings. Note that on Mac, access to the system Keychain is required and
15 // these calls can block the current thread to collect user input. 14 // these calls can block the current thread to collect user input.
16 class Encryptor { 15 class Encryptor {
17 public: 16 public:
(...skipping 25 matching lines...) Expand all
43 // For unit testing purposes we instruct the Encryptor to use a mock Keychain 42 // For unit testing purposes we instruct the Encryptor to use a mock Keychain
44 // on the Mac. The default is to use the real Keychain. 43 // on the Mac. The default is to use the real Keychain.
45 static void UseMockKeychain(bool use_mock); 44 static void UseMockKeychain(bool use_mock);
46 #endif 45 #endif
47 46
48 private: 47 private:
49 DISALLOW_IMPLICIT_CONSTRUCTORS(Encryptor); 48 DISALLOW_IMPLICIT_CONSTRUCTORS(Encryptor);
50 }; 49 };
51 50
52 #endif // CHROME_BROWSER_PASSWORD_MANAGER_ENCRYPTOR_H__ 51 #endif // CHROME_BROWSER_PASSWORD_MANAGER_ENCRYPTOR_H__
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_ui_manager_mac.h ('k') | chrome/browser/password_manager/encryptor_password_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698