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

Unified Diff: chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc

Issue 1062873003: Give names to all utility processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typos Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc
diff --git a/chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc b/chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc
index 3e5e9aa9b960469e06ed8d412c9edd9f3cff8deb..6373cb4326b2729210a53b3f1d9843abb4afc664 100644
--- a/chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc
+++ b/chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc
@@ -7,9 +7,11 @@
#include "base/files/file_util.h"
#include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
+#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/utility_process_host.h"
+#include "ui/base/l10n/l10n_util.h"
using content::BrowserThread;
using content::UtilityProcessHost;
@@ -96,6 +98,8 @@ void SafePicasaAlbumsIndexer::StartWorkOnIOThread() {
UtilityProcessHost* host =
UtilityProcessHost::Create(this, base::MessageLoopProxy::current());
+ host->SetName(l10n_util::GetStringUTF16(
+ IDS_UTILITY_PROCESS_MEDIA_LIBRARY_FILE_CHECKER_NAME));
host->Send(new ChromeUtilityMsg_IndexPicasaAlbumsContents(album_uids_,
folders_inis_));
parser_state_ = STARTED_PARSING_STATE;

Powered by Google App Engine
This is Rietveld 408576698