summaryrefslogtreecommitdiffstats
path: root/src/google/protobuf/testing/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/testing/file.h')
-rw-r--r--src/google/protobuf/testing/file.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/google/protobuf/testing/file.h b/src/google/protobuf/testing/file.h
index d2aeabf..a6b1c76 100644
--- a/src/google/protobuf/testing/file.h
+++ b/src/google/protobuf/testing/file.h
@@ -1,6 +1,6 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
+// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -56,10 +56,6 @@ class File {
static void ReadFileToStringOrDie(const string& name, string* output);
// Create a file and write a string to it.
- static bool WriteStringToFile(const string& contents,
- const string& name);
-
- // Same as above, but crash on failure.
static void WriteStringToFileOrDie(const string& contents,
const string& name);
@@ -77,16 +73,6 @@ class File {
static void DeleteRecursively(const string& name,
void* dummy1, void* dummy2);
- static bool GetContents(
- const string& name, string* output, bool /*is_default*/) {
- return ReadFileToString(name, output);
- }
-
- static bool SetContents(
- const string& name, const string& contents, bool /*is_default*/) {
- return WriteStringToFile(contents, name);
- }
-
private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File);
};