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

Unified Diff: chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.cc
diff --git a/webkit/fileapi/media/picasa/pmp_test_helper.cc b/chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.cc
similarity index 96%
rename from webkit/fileapi/media/picasa/pmp_test_helper.cc
rename to chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.cc
index 69f92ee3881644f941ac77841dcec48f1da8506d..f426d9602f6023fae6ef210287f5bf1dfbc7c381 100644
--- a/webkit/fileapi/media/picasa/pmp_test_helper.cc
+++ b/chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/fileapi/media/picasa/pmp_test_helper.h"
+#include "chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.h"
#include <algorithm>
#include <iterator>
@@ -10,7 +10,7 @@
#include "base/file_util.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
-#include "webkit/fileapi/media/picasa/pmp_column_reader.h"
+#include "chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.h"
namespace picasaimport {
@@ -37,7 +37,7 @@ template<>
std::vector<uint8> Flatten(const std::vector<std::string>& strings) {
std::vector<uint8> totalchars;
- for(std::vector<std::string>::const_iterator it = strings.begin();
+ for (std::vector<std::string>::const_iterator it = strings.begin();
it != strings.end(); ++it) {
std::copy(it->begin(), it->end(), std::back_inserter(totalchars));
totalchars.push_back('\0'); // Add the null termination too.

Powered by Google App Engine
This is Rietveld 408576698