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

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

Issue 2821010: Cleanup: Break some common->app dependencies. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: committed version with minor lint cleanup Created 10 years, 5 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
« no previous file with comments | « chrome/common/child_process_logging.h ('k') | chrome/common/child_process_logging_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 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 "chrome/common/child_process_logging.h" 5 #include "chrome/common/child_process_logging.h"
6 6
7 #include <string>
8
9 #include "base/logging.h" 7 #include "base/logging.h"
10 #include "base/string_util.h" 8 #include "base/string_util.h"
11 #include "chrome/installer/util/google_update_settings.h" 9 #include "chrome/installer/util/google_update_settings.h"
12 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
13 11
14 namespace child_process_logging { 12 namespace child_process_logging {
15 13
16 // We use a static string to hold the most recent active url. If we crash, the 14 // We use a static string to hold the most recent active url. If we crash, the
17 // crash handler code will send the contents of this string to the browser. 15 // crash handler code will send the contents of this string to the browser.
18 std::string active_url; 16 std::string active_url;
(...skipping 10 matching lines...) Expand all
29 return; 27 return;
30 28
31 std::wstring wstr = ASCIIToWide(str); 29 std::wstring wstr = ASCIIToWide(str);
32 GoogleUpdateSettings::SetMetricsId(wstr); 30 GoogleUpdateSettings::SetMetricsId(wstr);
33 } 31 }
34 32
35 void SetActiveExtensions(const std::set<std::string>& extension_ids) { 33 void SetActiveExtensions(const std::set<std::string>& extension_ids) {
36 // TODO(port) 34 // TODO(port)
37 } 35 }
38 } // namespace child_process_logging 36 } // namespace child_process_logging
OLDNEW
« no previous file with comments | « chrome/common/child_process_logging.h ('k') | chrome/common/child_process_logging_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698