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

Unified Diff: crypto/mock_keychain_mac.h

Issue 9699112: Move *keychain_mac* files to crypto/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: crypto/mock_keychain_mac.h
diff --git a/chrome/browser/mock_keychain_mac.h b/crypto/mock_keychain_mac.h
similarity index 97%
rename from chrome/browser/mock_keychain_mac.h
rename to crypto/mock_keychain_mac.h
index 7d378f2246ece7198bcfef99a146819a5dbb03ca..89d37d3d3957901a8c797e61a9aac22038cde331 100644
--- a/chrome/browser/mock_keychain_mac.h
+++ b/crypto/mock_keychain_mac.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_MOCK_KEYCHAIN_MAC_H_
-#define CHROME_BROWSER_MOCK_KEYCHAIN_MAC_H_
+#ifndef CRYPTO_MOCK_KEYCHAIN_MAC_H_
+#define CRYPTO_MOCK_KEYCHAIN_MAC_H_
#pragma once
#include <map>
@@ -12,7 +12,9 @@
#include <vector>
#include "base/compiler_specific.h"
-#include "chrome/browser/keychain_mac.h"
+#include "crypto/keychain_mac.h"
+
+namespace crypto {
// Mock Keychain wrapper for testing code that interacts with the OS Keychain.
Ryan Sleevi 2012/03/16 20:58:37 nit: OS X Keychain?
akalin 2012/03/17 07:19:44 Done.
// Implemented by storing SecKeychainAttributeList and KeychainPasswordData
@@ -204,4 +206,6 @@ class MockKeychain : public MacKeychain {
mutable std::string add_generic_password_;
};
-#endif // CHROME_BROWSER_MOCK_KEYCHAIN_MAC_H_
+} // namespace crypto
+
+#endif // CRYPTO_MOCK_KEYCHAIN_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698