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

Side by Side Diff: chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h>
6
5 #include "base/bind.h" 7 #include "base/bind.h"
6 #include "base/callback.h" 8 #include "base/callback.h"
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
10 #include "base/json/json_file_value_serializer.h" 12 #include "base/json/json_file_value_serializer.h"
11 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
12 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
13 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
14 #include "base/path_service.h" 16 #include "base/path_service.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 base::RunLoop run_loop; 378 base::RunLoop run_loop;
377 installer_->UnregisterWhitelist(kOtherClientId, kCrxId); 379 installer_->UnregisterWhitelist(kOtherClientId, kCrxId);
378 run_loop.RunUntilIdle(); 380 run_loop.RunUntilIdle();
379 } 381 }
380 EXPECT_FALSE(component_update_service_.registered_component()); 382 EXPECT_FALSE(component_update_service_.registered_component());
381 EXPECT_FALSE(base::DirectoryExists(whitelist_directory_)); 383 EXPECT_FALSE(base::DirectoryExists(whitelist_directory_));
382 EXPECT_FALSE(base::PathExists(whitelist_path_)); 384 EXPECT_FALSE(base::PathExists(whitelist_path_));
383 } 385 }
384 386
385 } // namespace component_updater 387 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698