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

Unified Diff: components/zip/zip_internal.cc

Issue 13257004: [components] Make zip a component so that src/chromeos can use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: components/zip/zip_internal.cc
diff --git a/chrome/common/zip_internal.cc b/components/zip/zip_internal.cc
similarity index 99%
rename from chrome/common/zip_internal.cc
rename to components/zip/zip_internal.cc
index 2f4021bc43a54490293c0aa0f8eb479d6b5f460e..0efbcfe1d1abe5ecfadfde6a609cf7bcc32bb08f 100644
--- a/chrome/common/zip_internal.cc
+++ b/components/zip/zip_internal.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 "chrome/common/zip.h"
+#include "components/zip/zip.h"
#include <algorithm>
@@ -10,9 +10,9 @@
#include "base/utf_string_conversions.h"
#if defined(USE_SYSTEM_MINIZIP)
+#include <minizip/ioapi.h>
#include <minizip/unzip.h>
#include <minizip/zip.h>
-#include <minizip/ioapi.h>
#else
#include "third_party/zlib/contrib/minizip/unzip.h"
#include "third_party/zlib/contrib/minizip/zip.h"

Powered by Google App Engine
This is Rietveld 408576698