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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SAFE_MEDIA_METADATA_PARSER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_MEDIA_METADATA_PARSER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_MEDIA_METADATA_PARSER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_MEDIA_METADATA_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 int64 length); 70 int64 length);
71 void StartBlobReaderOnUIThread(int64 request_id, int64 byte_start, 71 void StartBlobReaderOnUIThread(int64 request_id, int64 byte_start,
72 int64 length); 72 int64 length);
73 void OnBlobReaderDoneOnUIThread(int64 request_id, 73 void OnBlobReaderDoneOnUIThread(int64 request_id,
74 scoped_ptr<std::string> data, 74 scoped_ptr<std::string> data,
75 int64 /* blob_total_size */); 75 int64 /* blob_total_size */);
76 void FinishRequestBlobBytes(int64 request_id, scoped_ptr<std::string> data); 76 void FinishRequestBlobBytes(int64 request_id, scoped_ptr<std::string> data);
77 77
78 // UtilityProcessHostClient implementation. 78 // UtilityProcessHostClient implementation.
79 // Runs on the IO thread. 79 // Runs on the IO thread.
80 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 80 virtual void OnProcessCrashed(int exit_code) override;
81 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 81 virtual bool OnMessageReceived(const IPC::Message& message) override;
82 82
83 // All member variables are only accessed on the IO thread. 83 // All member variables are only accessed on the IO thread.
84 Profile* const profile_; 84 Profile* const profile_;
85 const std::string blob_uuid_; 85 const std::string blob_uuid_;
86 const int64 blob_size_; 86 const int64 blob_size_;
87 const std::string mime_type_; 87 const std::string mime_type_;
88 bool get_attached_images_; 88 bool get_attached_images_;
89 89
90 DoneCallback callback_; 90 DoneCallback callback_;
91 91
92 base::WeakPtr<content::UtilityProcessHost> utility_process_host_; 92 base::WeakPtr<content::UtilityProcessHost> utility_process_host_;
93 93
94 // Verifies the messages from the utility process came at the right time. 94 // Verifies the messages from the utility process came at the right time.
95 // Initialized on the UI thread, but only accessed on the IO thread. 95 // Initialized on the UI thread, but only accessed on the IO thread.
96 ParserState parser_state_; 96 ParserState parser_state_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(SafeMediaMetadataParser); 98 DISALLOW_COPY_AND_ASSIGN(SafeMediaMetadataParser);
99 }; 99 };
100 100
101 } // namespace metadata 101 } // namespace metadata
102 102
103 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_MEDIA_METADATA_PARSER_H_ 103 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_MEDIA_METADATA_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698