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

Unified Diff: chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h

Issue 492693004: Delete Privet filesystem code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h
diff --git a/chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h b/chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h
deleted file mode 100644
index 9b55a7e794447ecc05903915d9fce1c18d2dc714..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_ATTRIBUTE_CACHE_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_ATTRIBUTE_CACHE_H_
-
-#include <map>
-
-#include "base/files/file.h"
-#include "base/values.h"
-
-namespace local_discovery {
-
-class PrivetFileSystemAttributeCache {
- public:
- PrivetFileSystemAttributeCache();
- ~PrivetFileSystemAttributeCache();
-
- // Get File info for a path in the filesystem. Returns NULL if not found.
- const base::File::Info* GetFileInfo(const base::FilePath& full_path);
-
- // Add file info from the result of a /privet/storage/list request.
- void AddFileInfoFromJSON(const base::FilePath& full_path,
- const base::DictionaryValue* json);
-
- private:
- typedef std::map<base::FilePath, base::File::Info> FileInfoMap;
-
- void AddEntryInfoFromJSON(const base::FilePath& full_path,
- const base::DictionaryValue* json);
-
- FileInfoMap file_info_map_;
-};
-
-} // namespace local_discovery
-
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PRIVET_FILESYSTEM_ATTRIBUTE_CACHE_H_

Powered by Google App Engine
This is Rietveld 408576698