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

Side by Side Diff: extensions/browser/quota_service_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
« no previous file with comments | « extensions/browser/quota_service.h ('k') | extensions/browser/renderer_startup_helper.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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
7 #include "base/macros.h"
5 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
6 #include "base/process/process.h" 9 #include "base/process/process.h"
7 #include "base/stl_util.h" 10 #include "base/stl_util.h"
8 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
9 #include "content/public/test/test_browser_thread.h" 12 #include "content/public/test/test_browser_thread.h"
10 #include "extensions/browser/extension_function.h" 13 #include "extensions/browser/extension_function.h"
11 #include "extensions/browser/quota_service.h" 14 #include "extensions/browser/quota_service.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 16
14 using base::TimeDelta; 17 using base::TimeDelta;
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 EXPECT_NE("", service_->Assess(extension_a_, f.get(), &arg, 325 EXPECT_NE("", service_->Assess(extension_a_, f.get(), &arg,
323 kStartTime + TimeDelta::FromDays(1) + 326 kStartTime + TimeDelta::FromDays(1) +
324 TimeDelta::FromSeconds(25))); 327 TimeDelta::FromSeconds(25)));
325 328
326 // Like now. 329 // Like now.
327 EXPECT_EQ("", service_->Assess(extension_a_, f.get(), &arg, 330 EXPECT_EQ("", service_->Assess(extension_a_, f.get(), &arg,
328 kStartTime + TimeDelta::FromDays(2))); 331 kStartTime + TimeDelta::FromDays(2)));
329 } 332 }
330 333
331 } // namespace extensions 334 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/quota_service.h ('k') | extensions/browser/renderer_startup_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698