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

Unified Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h

Issue 1135183002: Ensure EasyUnlockPrivateAPI factory is initialized on start up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: uncomment Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
index af78c8dd5374e4032fcd72701cc3f48be523763d..e4e6a002048ef19ad54f9bb9a7e1d416db85a20e 100644
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
@@ -22,11 +22,6 @@ class BrowserContext;
}
namespace extensions {
-namespace api {
-
-namespace easy_unlock {
-struct SeekDeviceResult;
-} // easy_unlock
class EasyUnlockPrivateCryptoDelegate;
@@ -40,9 +35,7 @@ class EasyUnlockPrivateAPI : public BrowserContextKeyedAPI {
explicit EasyUnlockPrivateAPI(content::BrowserContext* context);
~EasyUnlockPrivateAPI() override;
- EasyUnlockPrivateCryptoDelegate* crypto_delegate() {
- return crypto_delegate_.get();
- }
+ EasyUnlockPrivateCryptoDelegate* GetCryptoDelegate();
private:
friend class BrowserContextKeyedAPIFactory<EasyUnlockPrivateAPI>;
@@ -399,7 +392,6 @@ class EasyUnlockPrivateSetAutoPairingResultFunction
DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateSetAutoPairingResultFunction);
};
-} // namespace api
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698