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

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

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [NOT a WIP] All tests are passing. Created 4 years, 10 months 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/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 IDR_EXTENSION_API_JSON_BROWSERACTION); 284 IDR_EXTENSION_API_JSON_BROWSERACTION);
285 api->RegisterSchemaResource("commands", IDR_EXTENSION_API_JSON_COMMANDS); 285 api->RegisterSchemaResource("commands", IDR_EXTENSION_API_JSON_COMMANDS);
286 api->RegisterSchemaResource("declarativeContent", 286 api->RegisterSchemaResource("declarativeContent",
287 IDR_EXTENSION_API_JSON_DECLARATIVE_CONTENT); 287 IDR_EXTENSION_API_JSON_DECLARATIVE_CONTENT);
288 api->RegisterSchemaResource("fileBrowserHandler", 288 api->RegisterSchemaResource("fileBrowserHandler",
289 IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER); 289 IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER);
290 api->RegisterSchemaResource("inputMethodPrivate", 290 api->RegisterSchemaResource("inputMethodPrivate",
291 IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE); 291 IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE);
292 api->RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION); 292 api->RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION);
293 api->RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY); 293 api->RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY);
294 api->RegisterSchemaResource("processes", IDR_EXTENSION_API_JSON_PROCESSES);
295 api->RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY); 294 api->RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY);
296 api->RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE); 295 api->RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE);
297 api->RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS); 296 api->RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS);
298 api->RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES); 297 api->RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES);
299 api->RegisterSchemaResource("types.private", 298 api->RegisterSchemaResource("types.private",
300 IDR_EXTENSION_API_JSON_TYPES_PRIVATE); 299 IDR_EXTENSION_API_JSON_TYPES_PRIVATE);
301 api->RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE); 300 api->RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE);
302 } 301 }
303 302
304 bool ChromeExtensionsClient::ShouldSuppressFatalErrors() const { 303 bool ChromeExtensionsClient::ShouldSuppressFatalErrors() const {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 375
377 return image_paths; 376 return image_paths;
378 } 377 }
379 378
380 // static 379 // static
381 ChromeExtensionsClient* ChromeExtensionsClient::GetInstance() { 380 ChromeExtensionsClient* ChromeExtensionsClient::GetInstance() {
382 return g_client.Pointer(); 381 return g_client.Pointer();
383 } 382 }
384 383
385 } // namespace extensions 384 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698