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

Unified Diff: components/bookmarks/core/browser/bookmark_node_data.cc

Issue 253753005: Move bookmarks' production code to components/bookmarks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@367656
Patch Set: Fix compilation for win_chromium_x64_rel Created 6 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: components/bookmarks/core/browser/bookmark_node_data.cc
diff --git a/chrome/browser/bookmarks/bookmark_node_data.cc b/components/bookmarks/core/browser/bookmark_node_data.cc
similarity index 97%
rename from chrome/browser/bookmarks/bookmark_node_data.cc
rename to components/bookmarks/core/browser/bookmark_node_data.cc
index 8da095ef316ea3df79b4e15224830ec13c85c8e8..5bdf36400bf9da3af5faa9b4d1f5417911a8af2e 100644
--- a/chrome/browser/bookmarks/bookmark_node_data.cc
+++ b/components/bookmarks/core/browser/bookmark_node_data.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_node_data.h"
+#include "components/bookmarks/core/browser/bookmark_node_data.h"
#include <string>
@@ -10,7 +10,7 @@
#include "base/pickle.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
-#include "chrome/browser/bookmarks/bookmark_utils.h"
+#include "components/bookmarks/core/browser/bookmark_utils.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
const char* BookmarkNodeData::kClipboardFormatString =
@@ -191,7 +191,7 @@ bool BookmarkNodeData::ReadFromClipboard(ui::ClipboardType type) {
&data);
if (!data.empty()) {
- Pickle pickle(data.data(), data.size());
+ Pickle pickle(data.data(), static_cast<int>(data.size()));
if (ReadFromPickle(&pickle))
return true;
}
« no previous file with comments | « components/bookmarks/core/browser/bookmark_node_data.h ('k') | components/bookmarks/core/browser/bookmark_node_data_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698