Index: components/bookmarks/core/browser/bookmark_utils.cc |
diff --git a/chrome/browser/bookmarks/bookmark_utils.cc b/components/bookmarks/core/browser/bookmark_utils.cc |
similarity index 97% |
rename from chrome/browser/bookmarks/bookmark_utils.cc |
rename to components/bookmarks/core/browser/bookmark_utils.cc |
index 0ad593e92e3e7d515669126adcdb701dcaaf461f..608bed9f2220e619a60beb4d4a464de6ee5f164d 100644 |
--- a/chrome/browser/bookmarks/bookmark_utils.cc |
+++ b/components/bookmarks/core/browser/bookmark_utils.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/browser/bookmarks/bookmark_utils.h" |
+#include "components/bookmarks/core/browser/bookmark_utils.h" |
#include <utility> |
@@ -15,7 +15,7 @@ |
#include "base/strings/string16.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/time/time.h" |
-#include "chrome/browser/bookmarks/bookmark_model.h" |
+#include "components/bookmarks/core/browser/bookmark_model.h" |
#include "components/bookmarks/core/common/bookmark_pref_names.h" |
#include "components/query_parser/query_parser.h" |
#include "components/user_prefs/pref_registry_syncable.h" |
@@ -24,7 +24,7 @@ |
#include "url/gurl.h" |
#if !defined(OS_ANDROID) |
-#include "chrome/browser/bookmarks/scoped_group_bookmark_actions.h" |
+#include "components/bookmarks/core/browser/scoped_group_bookmark_actions.h" |
#endif |
using base::Time; |
@@ -160,7 +160,8 @@ void CloneBookmarkNode(BookmarkModel* model, |
return; |
} |
for (size_t i = 0; i < elements.size(); ++i) { |
- CloneBookmarkNodeImpl(model, elements[i], parent, index_to_add_at + i, |
+ CloneBookmarkNodeImpl(model, elements[i], parent, |
+ index_to_add_at + static_cast<int>(i), |
reset_node_times); |
} |
} |