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

Side by Side Diff: chrome/test/live_sync/live_extensions_sync_test.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/test/live_sync/live_extensions_sync_test.h" 5 #include "chrome/test/live_sync/live_extensions_sync_test.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
12 #include "chrome/browser/extensions/extensions_service.h" 12 #include "chrome/browser/extensions/extensions_service.h"
13 #include "chrome/browser/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/themes/browser_theme_provider.h" 14 #include "chrome/browser/themes/browser_theme_provider.h"
15 #include "chrome/common/extensions/extension.h" 15 #include "chrome/common/extensions/extension.h"
16 16
17 LiveExtensionsSyncTest::LiveExtensionsSyncTest(TestType test_type) 17 LiveExtensionsSyncTest::LiveExtensionsSyncTest(TestType test_type)
18 : LiveExtensionsSyncTestBase(test_type) {} 18 : LiveExtensionsSyncTestBase(test_type) {}
19 19
20 LiveExtensionsSyncTest::~LiveExtensionsSyncTest() {} 20 LiveExtensionsSyncTest::~LiveExtensionsSyncTest() {}
21 21
22 bool LiveExtensionsSyncTest::HasSameExtensionsAsVerifier(int profile) { 22 bool LiveExtensionsSyncTest::HasSameExtensionsAsVerifier(int profile) {
23 return HasSameExtensionsHelper(GetProfile(profile), 23 return HasSameExtensionsHelper(GetProfile(profile),
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } // namespace 67 } // namespace
68 68
69 bool LiveExtensionsSyncTest::HasSameExtensionsHelper( 69 bool LiveExtensionsSyncTest::HasSameExtensionsHelper(
70 Profile* profile1, Profile* profile2) { 70 Profile* profile1, Profile* profile2) {
71 ExtensionStateMap extension_states1( 71 ExtensionStateMap extension_states1(
72 GetExtensionStates(profile1->GetExtensionsService())); 72 GetExtensionStates(profile1->GetExtensionsService()));
73 ExtensionStateMap extension_states2( 73 ExtensionStateMap extension_states2(
74 GetExtensionStates(profile2->GetExtensionsService())); 74 GetExtensionStates(profile2->GetExtensionsService()));
75 return extension_states1 == extension_states2; 75 return extension_states1 == extension_states2;
76 } 76 }
OLDNEW
« no previous file with comments | « chrome/test/live_sync/live_autofill_sync_test.h ('k') | chrome/test/live_sync/live_extensions_sync_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698