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

Side by Side Diff: cloud_print/service/win/chrome_launcher.cc

Issue 18919005: Migrate from googleurl/ includes to url/ ones in the remaining top-level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make googleurl a temp include rule - to prevent others including it again Created 7 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 | « chromeos/ime/input_method_descriptor.cc ('k') | extensions/common/event_filtering_info.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "cloud_print/service/win/chrome_launcher.h" 5 #include "cloud_print/service/win/chrome_launcher.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/json/json_writer.h" 12 #include "base/json/json_writer.h"
13 #include "base/process.h" 13 #include "base/process.h"
14 #include "base/process_util.h" 14 #include "base/process_util.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "base/win/registry.h" 16 #include "base/win/registry.h"
17 #include "base/win/scoped_handle.h" 17 #include "base/win/scoped_handle.h"
18 #include "base/win/scoped_process_information.h" 18 #include "base/win/scoped_process_information.h"
19 #include "chrome/common/chrome_constants.h" 19 #include "chrome/common/chrome_constants.h"
20 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "chrome/installer/launcher_support/chrome_launcher_support.h" 22 #include "chrome/installer/launcher_support/chrome_launcher_support.h"
23 #include "cloud_print/common/win/cloud_print_utils.h" 23 #include "cloud_print/common/win/cloud_print_utils.h"
24 #include "cloud_print/service/service_constants.h" 24 #include "cloud_print/service/service_constants.h"
25 #include "cloud_print/service/win/service_utils.h" 25 #include "cloud_print/service/win/service_utils.h"
26 #include "google_apis/gaia/gaia_urls.h" 26 #include "google_apis/gaia/gaia_urls.h"
27 #include "googleurl/src/gurl.h"
28 #include "net/base/url_util.h" 27 #include "net/base/url_util.h"
28 #include "url/gurl.h"
29 29
30 namespace { 30 namespace {
31 31
32 const int kShutdownTimeoutMs = 30 * 1000; 32 const int kShutdownTimeoutMs = 30 * 1000;
33 const int kUsageUpdateTimeoutMs = 6 * 3600 * 1000; // 6 hours. 33 const int kUsageUpdateTimeoutMs = 6 * 3600 * 1000; // 6 hours.
34 34
35 static const char16 kAutoRunKeyPath[] = 35 static const char16 kAutoRunKeyPath[] =
36 L"Software\\Microsoft\\Windows\\CurrentVersion\\Run"; 36 L"Software\\Microsoft\\Windows\\CurrentVersion\\Run";
37 37
38 // Terminates any process. 38 // Terminates any process.
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 } 337 }
338 } else { 338 } else {
339 LOG(ERROR) << "Chrome launch failed."; 339 LOG(ERROR) << "Chrome launch failed.";
340 return result; 340 return result;
341 } 341 }
342 } 342 }
343 NOTREACHED(); 343 NOTREACHED();
344 return std::string(); 344 return std::string();
345 } 345 }
346 346
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_descriptor.cc ('k') | extensions/common/event_filtering_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698