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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/common/service_process_util_posix.cc ('k') | chrome/common/spellcheck_common.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 "chrome/common/service_process_util.h" 5 #include "chrome/common/service_process_util.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
9 #include "base/command_line.h" 8 #include "base/command_line.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
11 #include "base/location.h" 10 #include "base/location.h"
12 #include "base/process/kill.h" 11 #include "base/process/kill.h"
13 #include "base/process/launch.h" 12 #include "base/process/launch.h"
14 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "build/build_config.h"
16 16
17 #if !defined(OS_MACOSX) 17 #if !defined(OS_MACOSX)
18 #include "base/at_exit.h" 18 #include "base/at_exit.h"
19 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
20 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/test/multiprocess_test.h" 22 #include "base/test/multiprocess_test.h"
23 #include "base/test/test_timeouts.h" 23 #include "base/test/test_timeouts.h"
24 #include "base/threading/thread.h" 24 #include "base/threading/thread.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 ScopedAttributesRestorer restorer(bundle_path(), 0777); 419 ScopedAttributesRestorer restorer(bundle_path(), 0777);
420 GetIOMessageLoopProxy()->PostTask( 420 GetIOMessageLoopProxy()->PostTask(
421 FROM_HERE, 421 FROM_HERE,
422 base::Bind(&ChangeAttr, bundle_path(), 0222)); 422 base::Bind(&ChangeAttr, bundle_path(), 0222));
423 Run(); 423 Run();
424 ASSERT_TRUE(mock_launchd()->remove_called()); 424 ASSERT_TRUE(mock_launchd()->remove_called());
425 ASSERT_TRUE(mock_launchd()->delete_called()); 425 ASSERT_TRUE(mock_launchd()->delete_called());
426 } 426 }
427 427
428 #endif // !OS_MACOSX 428 #endif // !OS_MACOSX
OLDNEW
« no previous file with comments | « chrome/common/service_process_util_posix.cc ('k') | chrome/common/spellcheck_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698