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

Unified Diff: chrome/browser/chromeos/login/owner_key_utils_unittest.cc

Issue 3141031: [Chrome OS] Wire up ownership API from libcros (Closed)
Patch Set: address davemoore comments Created 10 years, 4 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 | « chrome/browser/chromeos/login/owner_key_utils.cc ('k') | chrome/browser/chromeos/login/owner_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/owner_key_utils_unittest.cc
diff --git a/chrome/browser/chromeos/login/owner_key_utils_unittest.cc b/chrome/browser/chromeos/login/owner_key_utils_unittest.cc
index 105c560de10d77fa1e4f1b4d300e0bf947ffda51..3a5255dadfd349d7efa6caedf1f21a9fbb80d96d 100644
--- a/chrome/browser/chromeos/login/owner_key_utils_unittest.cc
+++ b/chrome/browser/chromeos/login/owner_key_utils_unittest.cc
@@ -4,12 +4,6 @@
#include "chrome/browser/chromeos/login/owner_key_utils.h"
-#include <cert.h>
-#include <keyhi.h>
-#include <keythi.h> // KeyType enum
-#include <pk11pub.h>
-#include <stdlib.h>
-
#include <string>
#include <vector>
@@ -19,7 +13,7 @@
#include "base/logging.h"
#include "base/nss_util_internal.h"
#include "base/nss_util.h"
-#include "base/scoped_ptr.h"
+#include "base/ref_counted.h"
#include "base/scoped_temp_dir.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -37,7 +31,7 @@ class OwnerKeyUtilsTest : public ::testing::Test {
base::OpenPersistentNSSDB();
}
- scoped_ptr<OwnerKeyUtils> utils_;
+ scoped_refptr<OwnerKeyUtils> utils_;
};
TEST_F(OwnerKeyUtilsTest, ExportImportPublicKey) {
« no previous file with comments | « chrome/browser/chromeos/login/owner_key_utils.cc ('k') | chrome/browser/chromeos/login/owner_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698