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

Side by Side Diff: extensions/browser/api/web_request/web_request_api.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 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 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_
6 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ 6 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_
7 7
8 #include <stdint.h>
9
8 #include <list> 10 #include <list>
9 #include <map> 11 #include <map>
10 #include <set> 12 #include <set>
11 #include <string> 13 #include <string>
12 #include <utility> 14 #include <utility>
13 #include <vector> 15 #include <vector>
14 16
17 #include "base/macros.h"
15 #include "base/memory/singleton.h" 18 #include "base/memory/singleton.h"
16 #include "base/memory/weak_ptr.h" 19 #include "base/memory/weak_ptr.h"
17 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
18 #include "base/time/time.h" 21 #include "base/time/time.h"
19 #include "content/public/common/resource_type.h" 22 #include "content/public/common/resource_type.h"
20 #include "extensions/browser/api/declarative/rules_registry.h" 23 #include "extensions/browser/api/declarative/rules_registry.h"
21 #include "extensions/browser/api/declarative_webrequest/request_stage.h" 24 #include "extensions/browser/api/declarative_webrequest/request_stage.h"
22 #include "extensions/browser/api/web_request/web_request_api_helpers.h" 25 #include "extensions/browser/api/web_request/web_request_api_helpers.h"
23 #include "extensions/browser/api/web_request/web_request_permissions.h" 26 #include "extensions/browser/api/web_request/web_request_permissions.h"
24 #include "extensions/browser/browser_context_keyed_api_factory.h" 27 #include "extensions/browser/browser_context_keyed_api_factory.h"
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 extensions::QuotaLimitHeuristics* heuristics) const override; 555 extensions::QuotaLimitHeuristics* heuristics) const override;
553 // Handle quota exceeded gracefully: Only warn the user but still execute the 556 // Handle quota exceeded gracefully: Only warn the user but still execute the
554 // function. 557 // function.
555 void OnQuotaExceeded(const std::string& error) override; 558 void OnQuotaExceeded(const std::string& error) override;
556 bool RunSync() override; 559 bool RunSync() override;
557 }; 560 };
558 561
559 } // namespace extensions 562 } // namespace extensions
560 563
561 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ 564 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698