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

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

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/browser/extensions/external_provider_impl.h" 5 #include "chrome/browser/extensions/external_provider_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/test/base/testing_profile.h" 21 #include "chrome/test/base/testing_profile.h"
22 #include "content/public/browser/notification_service.h" 22 #include "content/public/browser/notification_service.h"
23 #include "content/public/test/test_utils.h" 23 #include "content/public/test/test_utils.h"
24 #include "net/test/embedded_test_server/embedded_test_server.h" 24 #include "net/test/embedded_test_server/embedded_test_server.h"
25 #include "net/test/embedded_test_server/http_request.h" 25 #include "net/test/embedded_test_server/http_request.h"
26 #include "net/test/embedded_test_server/http_response.h" 26 #include "net/test/embedded_test_server/http_response.h"
27 #include "testing/gmock/include/gmock/gmock.h" 27 #include "testing/gmock/include/gmock/gmock.h"
28 28
29 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
30 #include "chrome/browser/chromeos/customization_document.h" 30 #include "chrome/browser/chromeos/customization_document.h"
31 #include "chrome/browser/chromeos/login/fake_user_manager.h" 31 #include "chrome/browser/chromeos/login/users/fake_user_manager.h"
32 #include "chromeos/system/mock_statistics_provider.h" 32 #include "chromeos/system/mock_statistics_provider.h"
33 #include "chromeos/system/statistics_provider.h" 33 #include "chromeos/system/statistics_provider.h"
34 #endif 34 #endif
35 35
36 using ::testing::_; 36 using ::testing::_;
37 using ::testing::NotNull; 37 using ::testing::NotNull;
38 using ::testing::Return; 38 using ::testing::Return;
39 39
40 namespace extensions { 40 namespace extensions {
41 41
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 service_->CheckForExternalUpdates(); 163 service_->CheckForExternalUpdates();
164 runner->Run(); 164 runner->Run();
165 165
166 EXPECT_TRUE(service_->GetInstalledExtension( 166 EXPECT_TRUE(service_->GetInstalledExtension(
167 extension_misc::kInAppPaymentsSupportAppId)); 167 extension_misc::kInAppPaymentsSupportAppId));
168 EXPECT_TRUE(service_->IsExtensionEnabled( 168 EXPECT_TRUE(service_->IsExtensionEnabled(
169 extension_misc::kInAppPaymentsSupportAppId)); 169 extension_misc::kInAppPaymentsSupportAppId));
170 } 170 }
171 171
172 } // namespace extensions 172 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698