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

Unified Diff: chrome/browser/sync/syncable/directory_backing_store.cc

Issue 429003: Final part of PathString cleanup. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/browser/sync/syncable/directory_backing_store.h ('k') | chrome/browser/sync/syncable/syncable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/directory_backing_store.cc
===================================================================
--- chrome/browser/sync/syncable/directory_backing_store.cc (revision 32749)
+++ chrome/browser/sync/syncable/directory_backing_store.cc (working copy)
@@ -10,8 +10,6 @@
#include <CoreFoundation/CoreFoundation.h>
#endif
-#include <string>
-
#include "base/hash_tables.h"
#include "base/logging.h"
#include "chrome/browser/sync/protocol/service_constants.h"
@@ -193,7 +191,7 @@
///////////////////////////////////////////////////////////////////////////////
// DirectoryBackingStore implementation.
-DirectoryBackingStore::DirectoryBackingStore(const PathString& dir_name,
+DirectoryBackingStore::DirectoryBackingStore(const string& dir_name,
const FilePath& backing_filepath)
: load_dbhandle_(NULL),
save_dbhandle_(NULL),
@@ -335,7 +333,7 @@
ScopedStatement statement(PrepareQuery(load_dbhandle_,
"SELECT db_create_version, db_create_time FROM share_info"));
CHECK(SQLITE_ROW == sqlite3_step(statement.get()));
- PathString db_create_version;
+ string db_create_version;
int db_create_time;
GetColumn(statement.get(), 0, &db_create_version);
GetColumn(statement.get(), 1, &db_create_time);
@@ -379,7 +377,7 @@
int step_result = sqlite3_step(statement.get());
while (SQLITE_ROW == step_result) {
int64 metahandle;
- PathString path_string_key;
+ string path_string_key;
ExtendedAttributeValue val;
val.is_deleted = false;
GetColumn(statement.get(), 0, &metahandle);
« no previous file with comments | « chrome/browser/sync/syncable/directory_backing_store.h ('k') | chrome/browser/sync/syncable/syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698