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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/configure.h

Issue 1088883002: Add events for configuring and adding new providers to FSP API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 8 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/chromeos/file_system_provider/operations/configure.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/unmount.h b/chrome/browser/chromeos/file_system_provider/operations/configure.h
similarity index 70%
copy from chrome/browser/chromeos/file_system_provider/operations/unmount.h
copy to chrome/browser/chromeos/file_system_provider/operations/configure.h
index 4b966afb6f61cd03643c1de84a74d4441e92edcf..aa3f84dadff1d28ba8f7df1a488f80ab3e6d4884 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/unmount.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/configure.h
@@ -1,9 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 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_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_UNMOUNT_H_
-#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_UNMOUNT_H_
+#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CONFIGURE_H_
+#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CONFIGURE_H_
#include "base/files/file.h"
#include "base/memory/scoped_ptr.h"
@@ -25,14 +25,14 @@ class ProvidedFileSystemInfo;
namespace operations {
-// Bridge between fileManagerPrivate's unmount operation and providing
-// extension's unmount request. Created per request.
-class Unmount : public Operation {
+// Bridge between fileManagerPrivate's configure operation and providing
+// extension's configure request. Created per request.
+class Configure : public Operation {
public:
- Unmount(extensions::EventRouter* event_router,
- const ProvidedFileSystemInfo& file_system_info,
- const storage::AsyncFileUtil::StatusCallback& callback);
- ~Unmount() override;
+ Configure(extensions::EventRouter* event_router,
+ const ProvidedFileSystemInfo& file_system_info,
+ const storage::AsyncFileUtil::StatusCallback& callback);
+ ~Configure() override;
// Operation overrides.
bool Execute(int request_id) override;
@@ -46,11 +46,11 @@ class Unmount : public Operation {
private:
const storage::AsyncFileUtil::StatusCallback callback_;
- DISALLOW_COPY_AND_ASSIGN(Unmount);
+ DISALLOW_COPY_AND_ASSIGN(Configure);
};
} // namespace operations
} // namespace file_system_provider
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_UNMOUNT_H_
+#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CONFIGURE_H_

Powered by Google App Engine
This is Rietveld 408576698