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

Side by Side Diff: chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.cc

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. Created 7 years, 8 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 #include "webkit/fileapi/media/picasa/pmp_column_reader.h" 5 #include "chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/threading/thread_restrictions.h" 12 #include "base/threading/thread_restrictions.h"
13 13
14 namespace picasaimport { 14 namespace picasaimport {
15 15
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 strings_.push_back(reinterpret_cast<const char*>(data_cursor)); 178 strings_.push_back(reinterpret_cast<const char*>(data_cursor));
179 data_cursor += length_in_bytes; 179 data_cursor += length_in_bytes;
180 bytes_parsed += length_in_bytes; 180 bytes_parsed += length_in_bytes;
181 } 181 }
182 182
183 return bytes_parsed - kPmpHeaderSize; 183 return bytes_parsed - kPmpHeaderSize;
184 } 184 }
185 185
186 } // namespace picasaimport 186 } // namespace picasaimport
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698