Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Side by Side Diff: chrome/common/extensions/chrome_extensions_client.cc

Issue 730983002: Remove dead script_badge code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mm Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/chrome_extensions_client.h" 5 #include "chrome/common/extensions/chrome_extensions_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 api->RegisterSchemaResource("declarativeContent", 270 api->RegisterSchemaResource("declarativeContent",
271 IDR_EXTENSION_API_JSON_DECLARATIVE_CONTENT); 271 IDR_EXTENSION_API_JSON_DECLARATIVE_CONTENT);
272 api->RegisterSchemaResource("fileBrowserHandler", 272 api->RegisterSchemaResource("fileBrowserHandler",
273 IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER); 273 IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER);
274 api->RegisterSchemaResource("inputMethodPrivate", 274 api->RegisterSchemaResource("inputMethodPrivate",
275 IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE); 275 IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE);
276 api->RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION); 276 api->RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION);
277 api->RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY); 277 api->RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY);
278 api->RegisterSchemaResource("processes", IDR_EXTENSION_API_JSON_PROCESSES); 278 api->RegisterSchemaResource("processes", IDR_EXTENSION_API_JSON_PROCESSES);
279 api->RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY); 279 api->RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY);
280 api->RegisterSchemaResource("scriptBadge",
281 IDR_EXTENSION_API_JSON_SCRIPTBADGE);
282 api->RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE); 280 api->RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE);
283 api->RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS); 281 api->RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS);
284 api->RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES); 282 api->RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES);
285 api->RegisterSchemaResource("types.private", 283 api->RegisterSchemaResource("types.private",
286 IDR_EXTENSION_API_JSON_TYPES_PRIVATE); 284 IDR_EXTENSION_API_JSON_TYPES_PRIVATE);
287 api->RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE); 285 api->RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE);
288 } 286 }
289 287
290 bool ChromeExtensionsClient::ShouldSuppressFatalErrors() const { 288 bool ChromeExtensionsClient::ShouldSuppressFatalErrors() const {
291 // Suppress fatal errors only on beta and stable channels. 289 // Suppress fatal errors only on beta and stable channels.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 349
352 return image_paths; 350 return image_paths;
353 } 351 }
354 352
355 // static 353 // static
356 ChromeExtensionsClient* ChromeExtensionsClient::GetInstance() { 354 ChromeExtensionsClient* ChromeExtensionsClient::GetInstance() {
357 return g_client.Pointer(); 355 return g_client.Pointer();
358 } 356 }
359 357
360 } // namespace extensions 358 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/script_badge.json ('k') | chrome/common/extensions/docs/server2/known_broken_links.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698