Index: chrome/browser/sync/internal_api/write_node.h |
diff --git a/chrome/browser/sync/internal_api/write_node.h b/chrome/browser/sync/internal_api/write_node.h |
index 487e5be45e9cf16f6c1112ae50f858fe655af8d3..ddca68c4adb19714eba416c16e71136614245e8c 100644 |
--- a/chrome/browser/sync/internal_api/write_node.h |
+++ b/chrome/browser/sync/internal_api/write_node.h |
@@ -1,4 +1,4 @@ |
-// 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. |
@@ -12,7 +12,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "chrome/browser/sync/internal_api/base_node.h" |
-#include "chrome/browser/sync/syncable/model_type.h" |
+#include "sync/syncable/model_type.h" |
namespace browser_sync { |
class Cryptographer; |
@@ -154,14 +154,6 @@ class WriteNode : public BaseNode { |
// Should only be called if GetModelType() == SESSIONS. |
void SetSessionSpecifics(const sync_pb::SessionSpecifics& specifics); |
- // Stores |new_specifics| into |entry|, encrypting if necessary. |
- // Returns false if an error encrypting occurred (does not modify |entry|). |
- // Note: gracefully handles new_specifics aliasing with entry->Get(SPECIFICS). |
- static bool UpdateEntryWithEncryption( |
- browser_sync::Cryptographer* cryptographer, |
- const sync_pb::EntitySpecifics& new_specifics, |
- syncable::MutableEntry* entry); |
- |
// Implementation of BaseNode's abstract virtual accessors. |
virtual const syncable::Entry* GetEntry() const OVERRIDE; |