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

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

Issue 10854180: Pass const ref instead of pointer for FromDocumentEntry() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for comments. 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_directory_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_directory_service.h
diff --git a/chrome/browser/chromeos/gdata/gdata_directory_service.h b/chrome/browser/chromeos/gdata/gdata_directory_service.h
index 793fa7ad0c02fa07457f5d112b27e4f45db637dd..1bbad7910f7ecf39014868beaafecc6aa1090adc 100644
--- a/chrome/browser/chromeos/gdata/gdata_directory_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_directory_service.h
@@ -146,7 +146,7 @@ class GDataDirectoryService {
void set_origin(ContentOrigin value) { origin_ = value; }
// Creates a GDataEntry from a DocumentEntry.
- GDataEntry* FromDocumentEntry(DocumentEntry* doc);
+ GDataEntry* FromDocumentEntry(const DocumentEntry& doc);
// Creates a GDataFile instance.
GDataFile* CreateGDataFile();
@@ -312,4 +312,3 @@ class GDataDirectoryService {
} // namespace gdata
#endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_DIRECTORY_SERVICE_H_
-
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_directory_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698