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

Side by Side Diff: chrome/browser/extensions/extension_service_unittest.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <algorithm> 5 #include <algorithm>
6 #include <set> 6 #include <set>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 #include "extensions/common/switches.h" 107 #include "extensions/common/switches.h"
108 #include "extensions/common/url_pattern.h" 108 #include "extensions/common/url_pattern.h"
109 #include "extensions/common/value_builder.h" 109 #include "extensions/common/value_builder.h"
110 #include "gpu/config/gpu_info.h" 110 #include "gpu/config/gpu_info.h"
111 #include "grit/browser_resources.h" 111 #include "grit/browser_resources.h"
112 #include "net/cookies/canonical_cookie.h" 112 #include "net/cookies/canonical_cookie.h"
113 #include "net/cookies/cookie_monster.h" 113 #include "net/cookies/cookie_monster.h"
114 #include "net/cookies/cookie_options.h" 114 #include "net/cookies/cookie_options.h"
115 #include "net/url_request/url_request_context.h" 115 #include "net/url_request/url_request_context.h"
116 #include "net/url_request/url_request_context_getter.h" 116 #include "net/url_request/url_request_context_getter.h"
117 #include "storage/browser/database/database_tracker.h"
118 #include "storage/browser/quota/quota_manager.h"
117 #include "storage/common/database/database_identifier.h" 119 #include "storage/common/database/database_identifier.h"
118 #include "sync/api/fake_sync_change_processor.h" 120 #include "sync/api/fake_sync_change_processor.h"
119 #include "sync/api/string_ordinal.h" 121 #include "sync/api/string_ordinal.h"
120 #include "sync/api/sync_data.h" 122 #include "sync/api/sync_data.h"
121 #include "sync/api/sync_error_factory.h" 123 #include "sync/api/sync_error_factory.h"
122 #include "sync/api/sync_error_factory_mock.h" 124 #include "sync/api/sync_error_factory_mock.h"
123 #include "sync/api/syncable_service.h" 125 #include "sync/api/syncable_service.h"
124 #include "sync/protocol/app_specifics.pb.h" 126 #include "sync/protocol/app_specifics.pb.h"
125 #include "sync/protocol/extension_specifics.pb.h" 127 #include "sync/protocol/extension_specifics.pb.h"
126 #include "sync/protocol/sync.pb.h" 128 #include "sync/protocol/sync.pb.h"
127 #include "testing/gtest/include/gtest/gtest.h" 129 #include "testing/gtest/include/gtest/gtest.h"
128 #include "testing/platform_test.h" 130 #include "testing/platform_test.h"
129 #include "url/gurl.h" 131 #include "url/gurl.h"
130 #include "webkit/browser/database/database_tracker.h"
131 #include "webkit/browser/quota/quota_manager.h"
132 132
133 #if defined(OS_CHROMEOS) 133 #if defined(OS_CHROMEOS)
134 #include "chrome/browser/chromeos/login/users/scoped_test_user_manager.h" 134 #include "chrome/browser/chromeos/login/users/scoped_test_user_manager.h"
135 #include "chrome/browser/chromeos/settings/cros_settings.h" 135 #include "chrome/browser/chromeos/settings/cros_settings.h"
136 #include "chrome/browser/chromeos/settings/device_settings_service.h" 136 #include "chrome/browser/chromeos/settings/device_settings_service.h"
137 #endif 137 #endif
138 138
139 // The blacklist tests rely on safe browsing. 139 // The blacklist tests rely on safe browsing.
140 #if defined(FULL_SAFE_BROWSING) || defined(MOBILE_SAFE_BROWSING) 140 #if defined(FULL_SAFE_BROWSING) || defined(MOBILE_SAFE_BROWSING)
141 #define ENABLE_BLACKLIST_TESTS 141 #define ENABLE_BLACKLIST_TESTS
(...skipping 7022 matching lines...) Expand 10 before | Expand all | Expand 10 after
7164 7164
7165 service()->Observe(chrome::NOTIFICATION_PROFILE_DESTRUCTION_STARTED, 7165 service()->Observe(chrome::NOTIFICATION_PROFILE_DESTRUCTION_STARTED,
7166 content::Source<Profile>(profile()), 7166 content::Source<Profile>(profile()),
7167 content::NotificationService::NoDetails()); 7167 content::NotificationService::NoDetails());
7168 EXPECT_EQ(UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN, unloaded_reason_); 7168 EXPECT_EQ(UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN, unloaded_reason_);
7169 EXPECT_EQ(0u, registry()->enabled_extensions().size()); 7169 EXPECT_EQ(0u, registry()->enabled_extensions().size());
7170 EXPECT_EQ(0u, registry()->disabled_extensions().size()); 7170 EXPECT_EQ(0u, registry()->disabled_extensions().size());
7171 EXPECT_EQ(0u, registry()->terminated_extensions().size()); 7171 EXPECT_EQ(0u, registry()->terminated_extensions().size());
7172 EXPECT_EQ(0u, registry()->blacklisted_extensions().size()); 7172 EXPECT_EQ(0u, registry()->blacklisted_extensions().size());
7173 } 7173 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698