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

Side by Side Diff: extensions/browser/api/declarative/declarative_rule_unittest.cc

Issue 550403003: Move declarative api files to extensions/browser/api/declarative. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser tests. Created 6 years, 3 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/browser/extensions/api/declarative/declarative_rule.h" 5 #include "extensions/browser/api/declarative/declarative_rule.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/test/values_test_util.h" 9 #include "base/test/values_test_util.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "components/url_matcher/url_matcher_constants.h" 11 #include "components/url_matcher/url_matcher_constants.h"
12 #include "extensions/common/extension_builder.h" 12 #include "extensions/common/extension_builder.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 extension.get(), 433 extension.get(),
434 base::Time(), 434 base::Time(),
435 json_rule, 435 json_rule,
436 base::Bind(AtLeastOneCondition), 436 base::Bind(AtLeastOneCondition),
437 &error); 437 &error);
438 EXPECT_FALSE(rule); 438 EXPECT_FALSE(rule);
439 EXPECT_EQ("No conditions", error); 439 EXPECT_EQ("No conditions", error);
440 } 440 }
441 441
442 } // namespace extensions 442 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/declarative/declarative_rule.h ('k') | extensions/browser/api/declarative/rules_cache_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698