summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable
diff options
context:
space:
mode:
authoralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 23:00:03 +0000
committeralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 23:00:03 +0000
commit376703e057fb55805c0d05c68a4b4d496e713ba7 (patch)
treebfc4043a291641063c43fa781cf69882aa7f6f05 /chrome/browser/sync/syncable
parent6d66bc2f295c5de6f6d28c1dd7e8d827459db1f4 (diff)
downloadchromium_src-376703e057fb55805c0d05c68a4b4d496e713ba7.zip
chromium_src-376703e057fb55805c0d05c68a4b4d496e713ba7.tar.gz
chromium_src-376703e057fb55805c0d05c68a4b4d496e713ba7.tar.bz2
TBR: willchan
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/syncable')
-rw-r--r--chrome/browser/sync/syncable/directory_manager.cc5
-rw-r--r--chrome/browser/sync/syncable/directory_manager.h8
-rw-r--r--chrome/browser/sync/syncable/model_type.cc4
3 files changed, 2 insertions, 15 deletions
diff --git a/chrome/browser/sync/syncable/directory_manager.cc b/chrome/browser/sync/syncable/directory_manager.cc
index 0719c67..96578c0 100644
--- a/chrome/browser/sync/syncable/directory_manager.cc
+++ b/chrome/browser/sync/syncable/directory_manager.cc
@@ -14,8 +14,6 @@
#include "chrome/browser/sync/syncable/syncable.h"
#include "chrome/common/deprecated/event_sys-inl.h"
-using browser_sync::Cryptographer;
-
namespace syncable {
static const FilePath::CharType kSyncDataDatabaseFilename[] =
@@ -39,8 +37,7 @@ const FilePath DirectoryManager::GetSyncDataDatabasePath() const {
DirectoryManager::DirectoryManager(const FilePath& path)
: root_path_(path),
managed_directory_(NULL),
- channel_(new Channel(DirectoryManagerShutdownEvent())),
- cryptographer_(new Cryptographer) {
+ channel_(new Channel(DirectoryManagerShutdownEvent())) {
}
DirectoryManager::~DirectoryManager() {
diff --git a/chrome/browser/sync/syncable/directory_manager.h b/chrome/browser/sync/syncable/directory_manager.h
index 61f303e..7753b1b 100644
--- a/chrome/browser/sync/syncable/directory_manager.h
+++ b/chrome/browser/sync/syncable/directory_manager.h
@@ -22,7 +22,6 @@
#include "chrome/browser/sync/syncable/dir_open_result.h"
#include "chrome/browser/sync/syncable/path_name_cmp.h"
#include "chrome/browser/sync/syncable/syncable.h"
-#include "chrome/browser/sync/util/cryptographer.h"
#include "chrome/browser/sync/util/sync_types.h"
#include "chrome/common/deprecated/event_sys.h"
@@ -77,10 +76,6 @@ class DirectoryManager {
Channel* channel() const { return channel_; }
- browser_sync::Cryptographer* cryptographer() const {
- return cryptographer_.get();
- }
-
protected:
DirOpenResult OpenImpl(const std::string& name, const FilePath& path,
bool* was_open);
@@ -96,9 +91,8 @@ class DirectoryManager {
Channel* const channel_;
- scoped_ptr<browser_sync::Cryptographer> cryptographer_;
-
private:
+
DISALLOW_COPY_AND_ASSIGN(DirectoryManager);
};
diff --git a/chrome/browser/sync/syncable/model_type.cc b/chrome/browser/sync/syncable/model_type.cc
index a03a794..ea89bb1 100644
--- a/chrome/browser/sync/syncable/model_type.cc
+++ b/chrome/browser/sync/syncable/model_type.cc
@@ -122,10 +122,6 @@ std::string ModelTypeToString(ModelType model_type) {
return "Typed URLs";
case EXTENSIONS:
return "Extensions";
- case PASSWORDS:
- return "Passwords";
- case NIGORI:
- return "Encryption keys";
default:
NOTREACHED() << "No known extension for model type.";
return "INVALID";