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

Side by Side Diff: chrome/browser/bookmarks/bookmark_utils_unittest.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, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/bookmarks/bookmark_utils.h" 5 #include "components/bookmarks/core/browser/bookmark_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/bookmarks/bookmark_node_data.h"
13 #include "chrome/browser/bookmarks/test_bookmark_client.h" 11 #include "chrome/browser/bookmarks/test_bookmark_client.h"
14 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" 12 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h"
13 #include "components/bookmarks/core/browser/bookmark_model.h"
14 #include "components/bookmarks/core/browser/bookmark_node_data.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "ui/base/clipboard/clipboard.h" 16 #include "ui/base/clipboard/clipboard.h"
17 #include "ui/base/clipboard/scoped_clipboard_writer.h" 17 #include "ui/base/clipboard/scoped_clipboard_writer.h"
18 18
19 using base::ASCIIToUTF16; 19 using base::ASCIIToUTF16;
20 using std::string; 20 using std::string;
21 21
22 namespace bookmark_utils { 22 namespace bookmark_utils {
23 namespace { 23 namespace {
24 24
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 EXPECT_EQ(2u, clone->GetMetaInfoMap()->size()); 375 EXPECT_EQ(2u, clone->GetMetaInfoMap()->size());
376 std::string value; 376 std::string value;
377 EXPECT_TRUE(clone->GetMetaInfo("somekey", &value)); 377 EXPECT_TRUE(clone->GetMetaInfo("somekey", &value));
378 EXPECT_EQ("somevalue", value); 378 EXPECT_EQ("somevalue", value);
379 EXPECT_TRUE(clone->GetMetaInfo("someotherkey", &value)); 379 EXPECT_TRUE(clone->GetMetaInfo("someotherkey", &value));
380 EXPECT_EQ("someothervalue", value); 380 EXPECT_EQ("someothervalue", value);
381 } 381 }
382 382
383 } // namespace 383 } // namespace
384 } // namespace bookmark_utils 384 } // namespace bookmark_utils
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/bookmarks/chrome_bookmark_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698