OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/common/extensions/api/extension_api.h" | 5 #include "extensions/common/extension_api.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
13 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 extension.get(), | 903 extension.get(), |
904 Feature::BLESSED_EXTENSION_CONTEXT, | 904 Feature::BLESSED_EXTENSION_CONTEXT, |
905 GURL()).is_available()); | 905 GURL()).is_available()); |
906 EXPECT_FALSE(extension_api->IsAvailable("pageAction", | 906 EXPECT_FALSE(extension_api->IsAvailable("pageAction", |
907 extension.get(), | 907 extension.get(), |
908 Feature::BLESSED_EXTENSION_CONTEXT, | 908 Feature::BLESSED_EXTENSION_CONTEXT, |
909 GURL()).is_available()); | 909 GURL()).is_available()); |
910 } | 910 } |
911 | 911 |
912 } // namespace extensions | 912 } // namespace extensions |
OLD | NEW |