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

Unified Diff: apps/saved_files_service.cc

Issue 2960433002: SavedFilesServiceInterface in //extensions (Closed)
Patch Set: rebase 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 | « apps/saved_files_service.h ('k') | apps/saved_files_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/saved_files_service.cc
diff --git a/apps/saved_files_service.cc b/apps/saved_files_service.cc
index 14e25ffabe07ed29662380947c5dc6e9ef0ab573..c2f01d7b7be3db07ddebc2a1624ed297b6e6f480 100644
--- a/apps/saved_files_service.cc
+++ b/apps/saved_files_service.cc
@@ -16,6 +16,7 @@
#include "base/value_conversions.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/notification_service.h"
+#include "extensions/browser/api/file_system/saved_file_entry.h"
#include "extensions/browser/extension_host.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_system.h"
@@ -30,6 +31,7 @@ using extensions::APIPermission;
using extensions::Extension;
using extensions::ExtensionHost;
using extensions::ExtensionPrefs;
+using extensions::SavedFileEntry;
namespace {
@@ -140,17 +142,6 @@ std::vector<SavedFileEntry> GetSavedFileEntries(
} // namespace
-SavedFileEntry::SavedFileEntry() : is_directory(false), sequence_number(0) {}
-
-SavedFileEntry::SavedFileEntry(const std::string& id,
- const base::FilePath& path,
- bool is_directory,
- int sequence_number)
- : id(id),
- path(path),
- is_directory(is_directory),
- sequence_number(sequence_number) {}
-
class SavedFilesService::SavedFiles {
public:
SavedFiles(content::BrowserContext* context, const std::string& extension_id);
« no previous file with comments | « apps/saved_files_service.h ('k') | apps/saved_files_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698