| OLD | NEW |
| 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/signin/signin_manager.h" | 5 #include "chrome/browser/signin/signin_manager.h" |
| 6 #include "chrome/browser/signin/signin_manager_factory.h" | 6 #include "chrome/browser/signin/signin_manager_factory.h" |
| 7 #include "chrome/common/extensions/extension.h" | |
| 8 #include "chrome/common/extensions/permissions/permissions_data.h" | |
| 9 #include "chrome/test/base/testing_browser_process.h" | 7 #include "chrome/test/base/testing_browser_process.h" |
| 10 #include "chrome/test/base/testing_profile.h" | 8 #include "chrome/test/base/testing_profile.h" |
| 11 #include "chrome/test/base/testing_profile_manager.h" | 9 #include "chrome/test/base/testing_profile_manager.h" |
| 12 #include "content/public/test/mock_render_process_host.h" | 10 #include "content/public/test/mock_render_process_host.h" |
| 13 #include "content/public/test/test_browser_thread_bundle.h" | 11 #include "content/public/test/test_browser_thread_bundle.h" |
| 12 #include "extensions/common/extension.h" |
| 14 #include "extensions/common/extension_builder.h" | 13 #include "extensions/common/extension_builder.h" |
| 14 #include "extensions/common/permissions/permissions_data.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 namespace extensions { | 17 namespace extensions { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 class BrowserPermissionsPolicyDelegateTest : public testing::Test { | 21 class BrowserPermissionsPolicyDelegateTest : public testing::Test { |
| 22 protected: | 22 protected: |
| 23 virtual void SetUp() { | 23 virtual void SetUp() { |
| 24 profile_manager_.reset( | 24 profile_manager_.reset( |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 kSigninUrl, | 82 kSigninUrl, |
| 83 kSigninUrl, | 83 kSigninUrl, |
| 84 -1, | 84 -1, |
| 85 NULL, | 85 NULL, |
| 86 signin_process.GetID(), | 86 signin_process.GetID(), |
| 87 &error)) << error; | 87 &error)) << error; |
| 88 } | 88 } |
| 89 #endif | 89 #endif |
| 90 | 90 |
| 91 } // namespace extensions | 91 } // namespace extensions |
| OLD | NEW |