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

Side by Side Diff: chrome/browser/ui/webui/sync_internals_ui_unittest.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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/ui/webui/sync_internals_ui.h" 5 #include "chrome/browser/ui/webui/sync_internals_ui.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <string> 8 #include <string>
9 9
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 13 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
14 #include "components/browser_sync/browser/profile_sync_service_mock.h" 14 #include "components/browser_sync/profile_sync_service_mock.h"
15 #include "components/sync/js/js_arg_list.h" 15 #include "components/sync/js/js_arg_list.h"
16 #include "components/sync/js/js_event_details.h" 16 #include "components/sync/js/js_event_details.h"
17 #include "components/sync/js/js_test_util.h" 17 #include "components/sync/js/js_test_util.h"
18 #include "content/public/browser/web_ui_controller.h" 18 #include "content/public/browser/web_ui_controller.h"
19 #include "content/public/test/test_browser_thread.h" 19 #include "content/public/test/test_browser_thread.h"
20 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 using base::ASCIIToUTF16; 23 using base::ASCIIToUTF16;
24 24
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ExecuteJavascript(ASCIIToUTF16(kAboutInfoCall))); 213 ExecuteJavascript(ASCIIToUTF16(kAboutInfoCall)));
214 214
215 base::ListValue args; 215 base::ListValue args;
216 sync_internals_ui_->OverrideHandleWebUIMessage( 216 sync_internals_ui_->OverrideHandleWebUIMessage(
217 GURL(), "getAboutInfo", args); 217 GURL(), "getAboutInfo", args);
218 } 218 }
219 219
220 } // namespace 220 } // namespace
221 221
222 */ 222 */
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/sync_internals_message_handler_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698