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

Side by Side Diff: chrome/browser/chromeos/cros/cryptohome_library.h

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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) 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_CHROMEOS_CROS_CRYPTOHOME_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_CRYPTOHOME_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_CRYPTOHOME_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_CRYPTOHOME_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "chrome/browser/chromeos/cros/cros_library.h" 12 #include "chrome/browser/chromeos/cros/cros_library.h"
13 #include "cros/chromeos_cryptohome.h" 13 #include "third_party/cros/chromeos_cryptohome.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 // This interface defines the interaction with the ChromeOS cryptohome library 17 // This interface defines the interaction with the ChromeOS cryptohome library
18 // APIs. 18 // APIs.
19 class CryptohomeLibrary { 19 class CryptohomeLibrary {
20 public: 20 public:
21 class Delegate { 21 class Delegate {
22 public: 22 public:
23 // This will be called back on the UI thread. Consult |return_code| for 23 // This will be called back on the UI thread. Consult |return_code| for
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void TpmClearStoredPassword() = 0; 130 virtual void TpmClearStoredPassword() = 0;
131 131
132 // Factory function, creates a new instance and returns ownership. 132 // Factory function, creates a new instance and returns ownership.
133 // For normal usage, access the singleton via CrosLibrary::Get(). 133 // For normal usage, access the singleton via CrosLibrary::Get().
134 static CryptohomeLibrary* GetImpl(bool stub); 134 static CryptohomeLibrary* GetImpl(bool stub);
135 }; 135 };
136 136
137 } // namespace chromeos 137 } // namespace chromeos
138 138
139 #endif // CHROME_BROWSER_CHROMEOS_CROS_CRYPTOHOME_LIBRARY_H_ 139 #endif // CHROME_BROWSER_CHROMEOS_CROS_CRYPTOHOME_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/cros_mock.h ('k') | chrome/browser/chromeos/cros/input_method_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698