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

Side by Side Diff: chrome/browser/media_galleries/fileapi/iphoto_file_util.h

Issue 795943002: Fix WeakPtrFactory member ordering in chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding more changes Created 6 years 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
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/iphoto_file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MEDIA_GALLERIES_FILEAPI_IPHOTO_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_FILE_UTIL_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_FILE_UTIL_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_FILE_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h" 10 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const ReadDirectoryCallback& callback, 79 const ReadDirectoryCallback& callback,
80 bool valid_parse); 80 bool valid_parse);
81 virtual void CreateSnapshotFileWithFreshDataProvider( 81 virtual void CreateSnapshotFileWithFreshDataProvider(
82 scoped_ptr<storage::FileSystemOperationContext> context, 82 scoped_ptr<storage::FileSystemOperationContext> context,
83 const storage::FileSystemURL& url, 83 const storage::FileSystemURL& url,
84 const CreateSnapshotFileCallback& callback, 84 const CreateSnapshotFileCallback& callback,
85 bool valid_parse); 85 bool valid_parse);
86 86
87 virtual IPhotoDataProvider* GetDataProvider(); 87 virtual IPhotoDataProvider* GetDataProvider();
88 88
89 ImportedMediaGalleryRegistry* imported_registry_;
90
89 base::WeakPtrFactory<IPhotoFileUtil> weak_factory_; 91 base::WeakPtrFactory<IPhotoFileUtil> weak_factory_;
90 92
91 ImportedMediaGalleryRegistry* imported_registry_;
92
93 DISALLOW_COPY_AND_ASSIGN(IPhotoFileUtil); 93 DISALLOW_COPY_AND_ASSIGN(IPhotoFileUtil);
94 }; 94 };
95 95
96 } // namespace iphoto 96 } // namespace iphoto
97 97
98 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_FILE_UTIL_H_ 98 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IPHOTO_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/iphoto_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698