OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 #include <vector> | 8 #include <vector> |
7 | 9 |
8 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
9 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
10 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
11 #include "base/values.h" | 13 #include "base/values.h" |
12 #include "chrome/browser/extensions/extension_apitest.h" | 14 #include "chrome/browser/extensions/extension_apitest.h" |
13 #include "chrome/common/pref_names.h" | 15 #include "chrome/common/pref_names.h" |
14 #include "extensions/test/result_catcher.h" | 16 #include "extensions/test/result_catcher.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 InitPrefServiceForTest(GetPrefs(), disabled_features, enabled_features)); | 270 InitPrefServiceForTest(GetPrefs(), disabled_features, enabled_features)); |
269 | 271 |
270 // Catch the second result notification sent by the test extension. | 272 // Catch the second result notification sent by the test extension. |
271 ResultCatcher result_catcher; | 273 ResultCatcher result_catcher; |
272 ASSERT_TRUE(result_catcher.GetNextResult()) << result_catcher.message(); | 274 ASSERT_TRUE(result_catcher.GetNextResult()) << result_catcher.message(); |
273 } | 275 } |
274 | 276 |
275 } // namespace | 277 } // namespace |
276 | 278 |
277 } // namespace extensions | 279 } // namespace extensions |
OLD | NEW |