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

Side by Side Diff: chrome/browser/background/background_application_list_model_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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 // TODO(rickcam): Bug 73183: Add unit tests for image loading 5 // TODO(rickcam): Bug 73183: Add unit tests for image loading
6 6
7 #include <stddef.h>
8
7 #include <cstdlib> 9 #include <cstdlib>
8 #include <set> 10 #include <set>
9 11
10 #include "chrome/browser/background/background_application_list_model.h" 12 #include "chrome/browser/background/background_application_list_model.h"
11 13
12 #include "base/command_line.h" 14 #include "base/command_line.h"
13 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
16 #include "base/stl_util.h" 18 #include "base/stl_util.h"
19 #include "build/build_config.h"
17 #include "chrome/browser/extensions/extension_service.h" 20 #include "chrome/browser/extensions/extension_service.h"
18 #include "chrome/browser/extensions/extension_service_test_base.h" 21 #include "chrome/browser/extensions/extension_service_test_base.h"
19 #include "chrome/browser/extensions/permissions_updater.h" 22 #include "chrome/browser/extensions/permissions_updater.h"
20 #include "chrome/test/base/testing_profile.h" 23 #include "chrome/test/base/testing_profile.h"
21 #include "content/public/browser/notification_registrar.h" 24 #include "content/public/browser/notification_registrar.h"
22 #include "content/public/browser/notification_types.h" 25 #include "content/public/browser/notification_types.h"
23 #include "extensions/browser/extension_prefs.h" 26 #include "extensions/browser/extension_prefs.h"
24 #include "extensions/browser/extension_registry.h" 27 #include "extensions/browser/extension_registry.h"
25 #include "extensions/browser/uninstall_reason.h" 28 #include "extensions/browser/uninstall_reason.h"
26 #include "extensions/common/extension.h" 29 #include "extensions/common/extension.h"
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 case 2: 398 case 2:
396 TogglePermission(service(), &extensions, model.get(), &expected, 399 TogglePermission(service(), &extensions, model.get(), &expected,
397 &count); 400 &count);
398 break; 401 break;
399 default: 402 default:
400 NOTREACHED(); 403 NOTREACHED();
401 break; 404 break;
402 } 405 }
403 } 406 }
404 } 407 }
OLDNEW
« no previous file with comments | « chrome/browser/background/background_application_list_model.h ('k') | chrome/browser/background/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698