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

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

Issue 64273006: Move ExtensionFunction to the extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « extensions/browser/quota_service.cc ('k') | extensions/extensions.gyp » ('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 "base/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/process/process.h" 6 #include "base/process/process.h"
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "chrome/browser/extensions/extension_function.h"
10 #include "content/public/test/test_browser_thread.h" 9 #include "content/public/test/test_browser_thread.h"
10 #include "extensions/browser/extension_function.h"
11 #include "extensions/browser/quota_service.h" 11 #include "extensions/browser/quota_service.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 using base::TimeDelta; 14 using base::TimeDelta;
15 using base::TimeTicks; 15 using base::TimeTicks;
16 using content::BrowserThread; 16 using content::BrowserThread;
17 17
18 namespace extensions { 18 namespace extensions {
19 19
20 typedef QuotaLimitHeuristic::Bucket Bucket; 20 typedef QuotaLimitHeuristic::Bucket Bucket;
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 "", 408 "",
409 service_->Assess( 409 service_->Assess(
410 extension_a_, f.get(), &arg, kStartTime + TimeDelta::FromDays(1))); 410 extension_a_, f.get(), &arg, kStartTime + TimeDelta::FromDays(1)));
411 EXPECT_NE( 411 EXPECT_NE(
412 "", 412 "",
413 service_->Assess( 413 service_->Assess(
414 extension_a_, g.get(), &arg, kStartTime + TimeDelta::FromDays(1))); 414 extension_a_, g.get(), &arg, kStartTime + TimeDelta::FromDays(1)));
415 } 415 }
416 416
417 } // namespace extensions 417 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/quota_service.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698