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

Side by Side Diff: chrome/common/extensions/extension_unittest.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 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
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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/stringprintf.h"
13 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/extensions/command.h" 13 #include "chrome/common/extensions/command.h"
15 #include "chrome/common/extensions/extension_test_util.h" 14 #include "chrome/common/extensions/extension_test_util.h"
16 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" 15 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h"
17 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
18 #include "components/crx_file/id_util.h" 17 #include "components/crx_file/id_util.h"
19 #include "extensions/common/extension.h" 18 #include "extensions/common/extension.h"
20 #include "extensions/common/extension_resource.h" 19 #include "extensions/common/extension_resource.h"
21 #include "extensions/common/file_util.h" 20 #include "extensions/common/file_util.h"
22 #include "extensions/common/manifest.h" 21 #include "extensions/common/manifest.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 316
318 extension = LoadManifest("app", "manifest.json", Extension::FROM_BOOKMARK); 317 extension = LoadManifest("app", "manifest.json", Extension::FROM_BOOKMARK);
319 EXPECT_TRUE(extension->from_bookmark()); 318 EXPECT_TRUE(extension->from_bookmark());
320 319
321 extension = LoadManifest("app", "manifest.json", Extension::NO_FLAGS); 320 extension = LoadManifest("app", "manifest.json", Extension::NO_FLAGS);
322 EXPECT_FALSE(extension->from_bookmark()); 321 EXPECT_FALSE(extension->from_bookmark());
323 EXPECT_FALSE(extension->from_webstore()); 322 EXPECT_FALSE(extension->from_webstore());
324 } 323 }
325 324
326 } // namespace extensions 325 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/win/chrome_process_finder.cc ('k') | chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698