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

Unified Diff: components/gcm/system_encryptor.h

Issue 261853012: Componentize GCM Part 1: create GCM component and move some files over (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot Created 6 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
Index: components/gcm/system_encryptor.h
diff --git a/components/sync_driver/system_encryptor.h b/components/gcm/system_encryptor.h
similarity index 65%
copy from components/sync_driver/system_encryptor.h
copy to components/gcm/system_encryptor.h
index 5552b76d2f02362f2d70c3e2567cd5651797d91b..c083435998cdb7400ba4bbb51e1d9b48ffe4445b 100644
--- a/components/sync_driver/system_encryptor.h
+++ b/components/gcm/system_encryptor.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SYNC_DRIVER_SYSTEM_ENCRYPTOR_H_
-#define COMPONENTS_SYNC_DRIVER_SYSTEM_ENCRYPTOR_H_
+#ifndef COMPONENTS_GCM_SYSTEM_ENCRYPTOR_H_
+#define COMPONENTS_GCM_SYSTEM_ENCRYPTOR_H_
#include "base/compiler_specific.h"
-#include "sync/util/encryptor.h"
+#include "google_apis/gcm/base/encryptor.h"
-namespace browser_sync {
+namespace gcm {
// Encryptor that uses the Chrome password manager's encryptor.
-class SystemEncryptor : public syncer::Encryptor {
+class SystemEncryptor : public Encryptor {
public:
virtual ~SystemEncryptor();
@@ -22,6 +22,6 @@ class SystemEncryptor : public syncer::Encryptor {
std::string* plaintext) OVERRIDE;
};
-} // namespace browser_sync
+} // namespace gcm
-#endif // COMPONENTS_SYNC_DRIVER_SYSTEM_ENCRYPTOR_H_
+#endif // COMPONENTS_GCM_SYSTEM_ENCRYPTOR_H_

Powered by Google App Engine
This is Rietveld 408576698