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

Side by Side Diff: extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc

Issue 1307643003: IWYU for base/memory/scoped_vector.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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) 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 "extensions/browser/api/declarative_webrequest/webrequest_condition_att ribute.h" 5 #include "extensions/browser/api/declarative_webrequest/webrequest_condition_att ribute.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_vector.h"
11 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
13 #include "base/values.h" 14 #include "base/values.h"
14 #include "content/public/browser/resource_request_info.h" 15 #include "content/public/browser/resource_request_info.h"
15 #include "extensions/browser/api/declarative/deduping_factory.h" 16 #include "extensions/browser/api/declarative/deduping_factory.h"
16 #include "extensions/browser/api/declarative_webrequest/request_stage.h" 17 #include "extensions/browser/api/declarative_webrequest/request_stage.h"
17 #include "extensions/browser/api/declarative_webrequest/webrequest_condition.h" 18 #include "extensions/browser/api/declarative_webrequest/webrequest_condition.h"
18 #include "extensions/browser/api/declarative_webrequest/webrequest_constants.h" 19 #include "extensions/browser/api/declarative_webrequest/webrequest_constants.h"
19 #include "extensions/browser/api/web_request/web_request_api_helpers.h" 20 #include "extensions/browser/api/web_request/web_request_api_helpers.h"
20 #include "extensions/common/error_utils.h" 21 #include "extensions/common/error_utils.h"
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 bool WebRequestConditionAttributeStages::Equals( 871 bool WebRequestConditionAttributeStages::Equals(
871 const WebRequestConditionAttribute* other) const { 872 const WebRequestConditionAttribute* other) const {
872 if (!WebRequestConditionAttribute::Equals(other)) 873 if (!WebRequestConditionAttribute::Equals(other))
873 return false; 874 return false;
874 const WebRequestConditionAttributeStages* casted_other = 875 const WebRequestConditionAttributeStages* casted_other =
875 static_cast<const WebRequestConditionAttributeStages*>(other); 876 static_cast<const WebRequestConditionAttributeStages*>(other);
876 return allowed_stages_ == casted_other->allowed_stages_; 877 return allowed_stages_ == casted_other->allowed_stages_;
877 } 878 }
878 879
879 } // namespace extensions 880 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698