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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 unified diff | Download patch | Annotate | Revision Log
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_SUPPORTED_IMAGE_TYPE_VALIDATOR_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 17 matching lines...) Expand all
28 28
29 private: 29 private:
30 friend class MediaFileValidatorFactory; 30 friend class MediaFileValidatorFactory;
31 31
32 explicit SupportedImageTypeValidator(const base::FilePath& file); 32 explicit SupportedImageTypeValidator(const base::FilePath& file);
33 33
34 void OnFileOpen(scoped_ptr<std::string> data); 34 void OnFileOpen(scoped_ptr<std::string> data);
35 35
36 base::FilePath path_; 36 base::FilePath path_;
37 scoped_refptr<ImageDecoder> decoder_; 37 scoped_refptr<ImageDecoder> decoder_;
38 fileapi::CopyOrMoveFileValidator::ResultCallback callback_; 38 storage::CopyOrMoveFileValidator::ResultCallback callback_;
39 base::WeakPtrFactory<SupportedImageTypeValidator> weak_factory_; 39 base::WeakPtrFactory<SupportedImageTypeValidator> weak_factory_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(SupportedImageTypeValidator); 41 DISALLOW_COPY_AND_ASSIGN(SupportedImageTypeValidator);
42 }; 42 };
43 43
44 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR _H_ 44 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698