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

Unified Diff: chrome/browser/chromeos/gdata/operation_registry.h

Issue 10837338: Remove "GData" prefix from non-GData specific classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 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/chromeos/gdata/operation_registry.h
diff --git a/chrome/browser/chromeos/gdata/gdata_operation_registry.h b/chrome/browser/chromeos/gdata/operation_registry.h
similarity index 92%
rename from chrome/browser/chromeos/gdata/gdata_operation_registry.h
rename to chrome/browser/chromeos/gdata/operation_registry.h
index 7e3424563ebffc85ea833eee2f00004f09d5d82a..4c15d3fdeb6d104f22d985f313a7b89d994f3466 100644
--- a/chrome/browser/chromeos/gdata/gdata_operation_registry.h
+++ b/chrome/browser/chromeos/gdata/operation_registry.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATION_REGISTRY_H_
-#define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATION_REGISTRY_H_
+#ifndef CHROME_BROWSER_CHROMEOS_GDATA_OPERATION_REGISTRY_H_
+#define CHROME_BROWSER_CHROMEOS_GDATA_OPERATION_REGISTRY_H_
#include <string>
#include <vector>
@@ -18,10 +18,10 @@ namespace gdata {
// This class tracks all the in-flight GData operation objects and manage their
// lifetime.
-class GDataOperationRegistry {
+class OperationRegistry {
public:
- GDataOperationRegistry();
- ~GDataOperationRegistry();
+ OperationRegistry();
+ ~OperationRegistry();
// Unique ID to identify each operation.
typedef int32 OperationID;
@@ -90,8 +90,8 @@ class GDataOperationRegistry {
// Operation object itself.
class Operation {
public:
- explicit Operation(GDataOperationRegistry* registry);
- Operation(GDataOperationRegistry* registry,
+ explicit Operation(OperationRegistry* registry);
+ Operation(OperationRegistry* registry,
OperationType type,
const FilePath& file_path);
virtual ~Operation();
@@ -124,7 +124,7 @@ class GDataOperationRegistry {
// Does the cancellation.
virtual void DoCancel() = 0;
- GDataOperationRegistry* const registry_;
+ OperationRegistry* const registry_;
ProgressStatus progress_status_;
};
@@ -173,9 +173,9 @@ class GDataOperationRegistry {
base::Time last_notification_;
bool do_notification_frequency_control_;
- DISALLOW_COPY_AND_ASSIGN(GDataOperationRegistry);
+ DISALLOW_COPY_AND_ASSIGN(OperationRegistry);
};
} // namespace gdata
-#endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATION_REGISTRY_H_
+#endif // CHROME_BROWSER_CHROMEOS_GDATA_OPERATION_REGISTRY_H_
« no previous file with comments | « chrome/browser/chromeos/gdata/mock_drive_service.h ('k') | chrome/browser/chromeos/gdata/operation_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698