| 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 "extensions/common/extension_api.h" | 5 #include "extensions/common/extension_api.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 #include <string> | 10 #include <string> |
| 9 #include <utility> | 11 #include <utility> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/json/json_reader.h" | 14 #include "base/json/json_reader.h" |
| 13 #include "base/json/json_writer.h" | 15 #include "base/json/json_writer.h" |
| 14 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
| 15 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/macros.h" |
| 16 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
| 17 #include "base/strings/string_split.h" | 20 #include "base/strings/string_split.h" |
| 18 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
| 19 #include "base/values.h" | 22 #include "base/values.h" |
| 20 #include "extensions/common/extension.h" | 23 #include "extensions/common/extension.h" |
| 21 #include "extensions/common/extensions_client.h" | 24 #include "extensions/common/extensions_client.h" |
| 22 #include "extensions/common/features/feature.h" | 25 #include "extensions/common/features/feature.h" |
| 23 #include "extensions/common/features/feature_provider.h" | 26 #include "extensions/common/features/feature_provider.h" |
| 24 #include "extensions/common/features/simple_feature.h" | 27 #include "extensions/common/features/simple_feature.h" |
| 25 #include "extensions/common/permissions/permission_set.h" | 28 #include "extensions/common/permissions/permission_set.h" |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 break; | 388 break; |
| 386 | 389 |
| 387 api_name_candidate = api_name_candidate.substr(0, last_dot_index); | 390 api_name_candidate = api_name_candidate.substr(0, last_dot_index); |
| 388 } | 391 } |
| 389 | 392 |
| 390 *child_name = ""; | 393 *child_name = ""; |
| 391 return std::string(); | 394 return std::string(); |
| 392 } | 395 } |
| 393 | 396 |
| 394 } // namespace extensions | 397 } // namespace extensions |
| OLD | NEW |