Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: webrtc/base/fileutils.h

Issue 2927983003: Delete ApplicationName and OrganizationName. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/base/unittest_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/fileutils.h
diff --git a/webrtc/base/fileutils.h b/webrtc/base/fileutils.h
index f2669281bd3add54ddda3e0d7f70f389d78d7cc9..fc5c4e17e3b60a4906d5aec664c0a8de7f9aee87 100644
--- a/webrtc/base/fileutils.h
+++ b/webrtc/base/fileutils.h
@@ -124,27 +124,6 @@ class FilesystemInterface {
// Determines a timestamp associated with the file indicated by path.
virtual bool GetFileTime(const Pathname& path, FileTimeType which,
time_t* time) = 0;
-
- // Note: These might go into some shared config section later, but they're
- // used by some methods in this interface, so we're leaving them here for now.
- void SetOrganizationName(const std::string& organization) {
- organization_name_ = organization;
- }
- void GetOrganizationName(std::string* organization) {
- RTC_DCHECK(organization);
- *organization = organization_name_;
- }
- void SetApplicationName(const std::string& application) {
- application_name_ = application;
- }
- void GetApplicationName(std::string* application) {
- RTC_DCHECK(application);
- *application = application_name_;
- }
-
- protected:
- std::string organization_name_;
- std::string application_name_;
};
class Filesystem {
@@ -208,22 +187,6 @@ class Filesystem {
return EnsureDefaultFilesystem()->GetFileTime(path, which, time);
}
- static void SetOrganizationName(const std::string& organization) {
- EnsureDefaultFilesystem()->SetOrganizationName(organization);
- }
-
- static void GetOrganizationName(std::string* organization) {
- EnsureDefaultFilesystem()->GetOrganizationName(organization);
- }
-
- static void SetApplicationName(const std::string& application) {
- EnsureDefaultFilesystem()->SetApplicationName(application);
- }
-
- static void GetApplicationName(std::string* application) {
- EnsureDefaultFilesystem()->GetApplicationName(application);
- }
-
private:
static FilesystemInterface* default_filesystem_;
« no previous file with comments | « no previous file | webrtc/base/unittest_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698