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/common/extensions/api/url_handlers/url_handlers_parser.h" | 5 #include "chrome/common/extensions/api/url_handlers/url_handlers_parser.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 extension->SetManifestData(mkeys::kUrlHandlers, info.release()); | 161 extension->SetManifestData(mkeys::kUrlHandlers, info.release()); |
162 | 162 |
163 return true; | 163 return true; |
164 } | 164 } |
165 | 165 |
166 const std::vector<std::string> UrlHandlersParser::Keys() const { | 166 const std::vector<std::string> UrlHandlersParser::Keys() const { |
167 return SingleKey(mkeys::kUrlHandlers); | 167 return SingleKey(mkeys::kUrlHandlers); |
168 } | 168 } |
169 | 169 |
170 } // namespace extensions | 170 } // namespace extensions |
OLD | NEW |