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" | 7 #include "chrome/common/extensions/extension.h" |
8 #include "chrome/common/extensions/extension_builder.h" | |
9 #include "chrome/common/extensions/permissions/permissions_data.h" | 8 #include "chrome/common/extensions/permissions/permissions_data.h" |
10 #include "chrome/test/base/testing_browser_process.h" | 9 #include "chrome/test/base/testing_browser_process.h" |
11 #include "chrome/test/base/testing_profile.h" | 10 #include "chrome/test/base/testing_profile.h" |
12 #include "chrome/test/base/testing_profile_manager.h" | 11 #include "chrome/test/base/testing_profile_manager.h" |
13 #include "content/public/test/mock_render_process_host.h" | 12 #include "content/public/test/mock_render_process_host.h" |
14 #include "content/public/test/test_browser_thread_bundle.h" | 13 #include "content/public/test/test_browser_thread_bundle.h" |
| 14 #include "extensions/common/extension_builder.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 kSigninUrl, | 80 kSigninUrl, |
81 kSigninUrl, | 81 kSigninUrl, |
82 -1, | 82 -1, |
83 NULL, | 83 NULL, |
84 signin_process.GetID(), | 84 signin_process.GetID(), |
85 &error)) << error; | 85 &error)) << error; |
86 } | 86 } |
87 #endif | 87 #endif |
88 | 88 |
89 } // namespace extensions | 89 } // namespace extensions |
OLD | NEW |