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

Side by Side Diff: chrome/common/extensions/api/common_extension_api_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 #include "extensions/common/extension_api.h" 5 #include "extensions/common/extension_api.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <utility> 10 #include <utility>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
13 #include "base/json/json_reader.h" 15 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 16 #include "base/json/json_writer.h"
17 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
17 #include "base/path_service.h" 20 #include "base/path_service.h"
18 #include "base/strings/stringprintf.h" 21 #include "base/strings/stringprintf.h"
19 #include "base/values.h" 22 #include "base/values.h"
20 #include "chrome/common/chrome_paths.h" 23 #include "chrome/common/chrome_paths.h"
21 #include "extensions/common/extension.h" 24 #include "extensions/common/extension.h"
22 #include "extensions/common/extension_builder.h" 25 #include "extensions/common/extension_builder.h"
23 #include "extensions/common/features/api_feature.h" 26 #include "extensions/common/features/api_feature.h"
24 #include "extensions/common/features/base_feature_provider.h" 27 #include "extensions/common/features/base_feature_provider.h"
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 extension.get(), 840 extension.get(),
838 Feature::BLESSED_EXTENSION_CONTEXT, 841 Feature::BLESSED_EXTENSION_CONTEXT,
839 GURL()).is_available()); 842 GURL()).is_available());
840 EXPECT_FALSE(extension_api->IsAvailable("pageAction", 843 EXPECT_FALSE(extension_api->IsAvailable("pageAction",
841 extension.get(), 844 extension.get(),
842 Feature::BLESSED_EXTENSION_CONTEXT, 845 Feature::BLESSED_EXTENSION_CONTEXT,
843 GURL()).is_available()); 846 GURL()).is_available());
844 } 847 }
845 848
846 } // namespace extensions 849 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698