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

Side by Side Diff: extensions/browser/extension_throttle_unittest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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 (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 "base/macros.h"
5 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
6 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
7 #include "base/pickle.h" 8 #include "base/pickle.h"
8 #include "base/stl_util.h" 9 #include "base/stl_util.h"
9 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
11 #include "base/time/time.h" 12 #include "base/time/time.h"
12 #include "extensions/browser/extension_throttle_entry.h" 13 #include "extensions/browser/extension_throttle_entry.h"
13 #include "extensions/browser/extension_throttle_manager.h" 14 #include "extensions/browser/extension_throttle_manager.h"
14 #include "extensions/browser/extension_throttle_test_support.h" 15 #include "extensions/browser/extension_throttle_test_support.h"
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 FAIL(); 461 FAIL();
461 } 462 }
462 463
463 scoped_refptr<ExtensionThrottleEntryInterface> entry_after = 464 scoped_refptr<ExtensionThrottleEntryInterface> entry_after =
464 manager.RegisterRequestUrl(GURL("http://www.example.com/")); 465 manager.RegisterRequestUrl(GURL("http://www.example.com/"));
465 EXPECT_FALSE(entry_after->ShouldRejectRequest(*request_)); 466 EXPECT_FALSE(entry_after->ShouldRejectRequest(*request_));
466 } 467 }
467 } 468 }
468 469
469 } // namespace extensions 470 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/extension_throttle_simulation_unittest.cc ('k') | extensions/browser/extension_user_script_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698