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

Side by Side Diff: extensions/common/extensions_client.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
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
« no previous file with comments | « extensions/common/extension_set_unittest.cc ('k') | extensions/common/feature_switch.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "extensions/common/extensions_client.h" 5 #include "extensions/common/extensions_client.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #include "extensions/common/extension_icon_set.h" 8 #include "extensions/common/extension_icon_set.h"
10 #include "extensions/common/manifest_handlers/icons_handler.h" 9 #include "extensions/common/manifest_handlers/icons_handler.h"
11 10
12 namespace extensions { 11 namespace extensions {
13 12
14 namespace { 13 namespace {
15 14
16 ExtensionsClient* g_client = NULL; 15 ExtensionsClient* g_client = NULL;
17 16
(...skipping 13 matching lines...) Expand all
31 30
32 void ExtensionsClient::Set(ExtensionsClient* client) { 31 void ExtensionsClient::Set(ExtensionsClient* client) {
33 // This can happen in unit tests, where the utility thread runs in-process. 32 // This can happen in unit tests, where the utility thread runs in-process.
34 if (g_client) 33 if (g_client)
35 return; 34 return;
36 g_client = client; 35 g_client = client;
37 g_client->Initialize(); 36 g_client->Initialize();
38 } 37 }
39 38
40 } // namespace extensions 39 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/extension_set_unittest.cc ('k') | extensions/common/feature_switch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698