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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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"
9 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/media_galleries/fileapi/av_scanning_file_validator.h" 12 #include "chrome/browser/media_galleries/fileapi/av_scanning_file_validator.h"
13 13
14 class ImageDecoder; 14 class ImageDecoder;
15 15
16 class MediaFileValidatorFactory; 16 class MediaFileValidatorFactory;
17 17
18 // Use ImageDecoder to determine if the file decodes without error. Handles 18 // Use ImageDecoder to determine if the file decodes without error. Handles
19 // image files supported by Chrome. 19 // image files supported by Chrome.
(...skipping 13 matching lines...) Expand all
33 void OnFileOpen(scoped_ptr<std::string> data); 33 void OnFileOpen(scoped_ptr<std::string> data);
34 34
35 base::FilePath path_; 35 base::FilePath path_;
36 storage::CopyOrMoveFileValidator::ResultCallback callback_; 36 storage::CopyOrMoveFileValidator::ResultCallback callback_;
37 base::WeakPtrFactory<SupportedImageTypeValidator> weak_factory_; 37 base::WeakPtrFactory<SupportedImageTypeValidator> weak_factory_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(SupportedImageTypeValidator); 39 DISALLOW_COPY_AND_ASSIGN(SupportedImageTypeValidator);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR _H_ 42 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_IMAGE_TYPE_VALIDATOR _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698