summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-22 13:20:31 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-22 13:20:31 -0700
commit4527acb0c39258792ae55604cb4d71006bf8d938 (patch)
treef1e2b09db0abc31c15d56ec7e718a09aabd00861 /include
parentffe4ddfe95e8b31e0cb579ab537a1373f6208bcc (diff)
parent856dd8a60a70a5b7dca2bf2114872ce063e2ad60 (diff)
downloadframeworks_base-4527acb0c39258792ae55604cb4d71006bf8d938.zip
frameworks_base-4527acb0c39258792ae55604cb4d71006bf8d938.tar.gz
frameworks_base-4527acb0c39258792ae55604cb4d71006bf8d938.tar.bz2
am 856dd8a6: Merge change 4952 into donut
Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60' * commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60': Helper API cleanup. Allows multiple helpers to function,
Diffstat (limited to 'include')
-rw-r--r--include/utils/BackupHelpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/BackupHelpers.h b/include/utils/BackupHelpers.h
index c78b99a..a21359f 100644
--- a/include/utils/BackupHelpers.h
+++ b/include/utils/BackupHelpers.h
@@ -71,6 +71,8 @@ public:
status_t WriteEntityHeader(const String8& key, size_t dataSize);
status_t WriteEntityData(const void* data, size_t size);
+ void SetKeyPrefix(const String8& keyPrefix);
+
private:
explicit BackupDataWriter();
status_t write_padding_for(int n);
@@ -79,6 +81,7 @@ private:
status_t m_status;
ssize_t m_pos;
int m_entityCount;
+ String8 m_keyPrefix;
};
/**