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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 9580016: Fixed remaining CL comments from review of http://codereview.chromium.org/9561009/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 friend class GDataFileSystemTest; 283 friend class GDataFileSystemTest;
284 FRIEND_TEST_ALL_PREFIXES(GDataFileSystemTest, 284 FRIEND_TEST_ALL_PREFIXES(GDataFileSystemTest,
285 FindFirstMissingParentDirectory); 285 FindFirstMissingParentDirectory);
286 286
287 // Defines possible search results of FindFirstMissingParentDirectory(). 287 // Defines possible search results of FindFirstMissingParentDirectory().
288 enum FindMissingDirectoryResult { 288 enum FindMissingDirectoryResult {
289 // Target directory found, it's not a directory. 289 // Target directory found, it's not a directory.
290 FOUND_INVALID, 290 FOUND_INVALID,
291 // Found missing directory segment while searching for given directory. 291 // Found missing directory segment while searching for given directory.
292 FOUND_MISSING, 292 FOUND_MISSING,
293 // Found target directory, it's already exists. 293 // Found target directory, it already exists.
294 DIRECTORY_ALREADY_PRESENT, 294 DIRECTORY_ALREADY_PRESENT,
295 }; 295 };
296 296
297 // Defines set of parameters passes to intermediate callbacks during 297 // Defines set of parameters passes to intermediate callbacks during
298 // execution of CreateDirectory() method. 298 // execution of CreateDirectory() method.
299 struct CreateDirectoryParams { 299 struct CreateDirectoryParams {
300 CreateDirectoryParams(const FilePath& created_directory_path, 300 CreateDirectoryParams(const FilePath& created_directory_path,
301 const FilePath& target_directory_path, 301 const FilePath& target_directory_path,
302 bool is_exclusive, 302 bool is_exclusive,
303 bool is_recursive, 303 bool is_recursive,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 virtual ~GDataFileSystemFactory(); 421 virtual ~GDataFileSystemFactory();
422 422
423 // ProfileKeyedServiceFactory: 423 // ProfileKeyedServiceFactory:
424 virtual ProfileKeyedService* BuildServiceInstanceFor( 424 virtual ProfileKeyedService* BuildServiceInstanceFor(
425 Profile* profile) const OVERRIDE; 425 Profile* profile) const OVERRIDE;
426 }; 426 };
427 427
428 } // namespace gdata 428 } // namespace gdata
429 429
430 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 430 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698