summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/compress_data_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/compress_data_helper.h')
-rw-r--r--chrome/browser/sessions/compress_data_helper.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/chrome/browser/sessions/compress_data_helper.h b/chrome/browser/sessions/compress_data_helper.h
deleted file mode 100644
index d7cbbaa..0000000
--- a/chrome/browser/sessions/compress_data_helper.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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_SESSIONS_COMPRESS_DATA_HELPER_H_
-#define CHROME_BROWSER_SESSIONS_COMPRESS_DATA_HELPER_H_
-#pragma once
-
-#include "base/basictypes.h"
-
-#include <string>
-
-class Pickle;
-
-class CompressDataHelper {
- public:
- // Compresses and writes |str| into |pickle|. |str| may contain NULL
- // charaters.
- static void CompressAndWriteStringToPickle(const std::string& str,
- int max_bytes,
- Pickle* pickle,
- int* bytes_written);
-
- // Reads and decompresses a string from |pickle| and saves it to |str|. |iter|
- // indicates the position of the data. The same iterator is used by
- // Pickle::Read* functions.
- static bool ReadAndDecompressStringFromPickle(const Pickle& pickle,
- void** iter,
- std::string* str);
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(CompressDataHelper);
-};
-
-#endif // CHROME_BROWSER_SESSIONS_COMPRESS_DATA_HELPER_H_