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

Side by Side Diff: chrome/common/service_process_util.cc

Issue 6317016: Change UTF8ToUTF16 to accept const StringPiece&. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <algorithm>
6
5 #include "base/file_util.h" 7 #include "base/file_util.h"
6 #include "base/logging.h" 8 #include "base/logging.h"
7 #include "base/path_service.h" 9 #include "base/path_service.h"
8 #include "base/process_util.h" 10 #include "base/process_util.h"
9 #include "base/singleton.h" 11 #include "base/singleton.h"
10 #include "base/string16.h" 12 #include "base/string16.h"
11 #include "base/string_util.h" 13 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
13 #include "base/version.h" 15 #include "base/version.h"
14 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 version_info.Version().length()); 232 version_info.Version().length());
231 shared_data->service_process_pid = base::GetCurrentProcId(); 233 shared_data->service_process_pid = base::GetCurrentProcId();
232 shared_mem_service_data_.reset(shared_mem_service_data.release()); 234 shared_mem_service_data_.reset(shared_mem_service_data.release());
233 return true; 235 return true;
234 } 236 }
235 237
236 238
237 std::string ServiceProcessState::GetAutoRunKey() { 239 std::string ServiceProcessState::GetAutoRunKey() {
238 return GetServiceProcessScopedName("_service_run"); 240 return GetServiceProcessScopedName("_service_run");
239 } 241 }
240
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/protocol_parser.cc ('k') | chrome/installer/util/l10n_string_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698