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

Side by Side Diff: chrome/browser/extensions/extension_install_checker_unittest.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "chrome/browser/extensions/extension_install_checker.h" 10 #include "chrome/browser/extensions/extension_install_checker.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 namespace { 15 namespace {
16 16
17 const BlacklistState kBlacklistStateError = BLACKLISTED_MALWARE; 17 const BlacklistState kBlacklistStateError = BLACKLISTED_MALWARE;
18 const char kDummyRequirementsError[] = "Requirements error"; 18 const char kDummyRequirementsError[] = "Requirements error";
19 const char kDummyPolicyError[] = "Cannot install extension"; 19 const char kDummyPolicyError[] = "Cannot install extension";
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 ExtensionInstallChecker::CHECK_ALL, 479 ExtensionInstallChecker::CHECK_ALL,
480 true /* fail fast */, 480 true /* fail fast */,
481 base::Bind( 481 base::Bind(
482 &ExtensionInstallCheckerMultipleInvocationTest::RunSecondInvocation, 482 &ExtensionInstallCheckerMultipleInvocationTest::RunSecondInvocation,
483 base::Unretained(this), 483 base::Unretained(this),
484 &checker)); 484 &checker));
485 base::RunLoop().RunUntilIdle(); 485 base::RunLoop().RunUntilIdle();
486 } 486 }
487 487
488 } // namespace extensions 488 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_gcm_app_handler.cc ('k') | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698